![]() |
![]() |
lame-name |
![]()
Post
#1
|
Newbie ![]() Group: Members Posts: 4 Joined: 13-July 08 Member No.: 557 ![]() |
Hi, i am using the file integration to display my "now playing" info in some games (via the games 'exec file' function). Works like charm, BUT i'd like to filter certain words from the output.
For example some webradios put "WWW.SOME-NAME.STUFF" into the song information. Since that can be a very long text (if in title AND album, for example), i'd like to automatically remove that (or if possible: replace with custom text). I've been playing around with the reg. expressions of the "Ignore song titles matching pattern" feature, but it looks like it COMPLETELY ignores the songinfo if it matches to the regex. (either that, or i somehow missed something) Thanks for any help or hint. |
![]() ![]() |
Serge |
![]()
Post
#2
|
![]() AMIP Developer ![]() ![]() ![]() Group: Root Admin Posts: 935 Joined: 12-March 06 Member No.: 1 ![]() |
http://amip.tools-for.net/wiki/manual/amip#formatting
$strip(pattern,subject) Removes all matches to pattern from subject $strrep(search,replace,subject) Returns a string with all occurrences of search in subject replaced with the given replace value $regrep(pattern,replacement,subject) Searches subject for matches to pattern and replaces them with replacement |
![]() ![]() |