ciryon has asked for the wisdom of the Perl Monks concerning the following question:
I seek wisdom since nothing I've tried works. I need to get the .mp3 filename (Ozzy Osbourne - Back on earth.mp3) from the following line:
I can't find a really good pattern to search for since the filename can be different each time and can contain any number of whitespaces.The filename can also look like artist - album - year - track.mp301 02 1 | Ozzy Osbourne | + Back On Earth Ozzy Osbourne - Back on earth.mp3 | 5:00 4689 44.1 +00 128
Really grateful for some suggesions.
Ciryon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex question
by Masem (Monsignor) on Nov 16, 2001 at 19:41 UTC | |
|
Re: regex question
by joealba (Hermit) on Nov 16, 2001 at 20:00 UTC | |
by jeffa (Bishop) on Nov 16, 2001 at 20:09 UTC | |
|
Re: regex question
by rchiav (Deacon) on Nov 16, 2001 at 20:09 UTC | |
|
Re: regex question
by Washizu (Scribe) on Nov 16, 2001 at 21:39 UTC |