looks like id3v2 ;-)
how about this: $string = "<[TIT2]> ABC <[TPE1]> GHI <[TALB]> XYZ"; $pattern = "/<\[TIT2\]>([^<]*)/"; // matches anything exept '<'; till '<' or end of string preg_match($pattern, $string, $match); var_export($match);
Yeah, Im trying to figure out a way to parse these tags.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php