Posted by David Grant on 11/29/05 18:44
Please try:
preg_match('/^[^\>]*\>(.*)\*.*$/', $line, $matches);
021 wrote:
> the log file is from a radio playlist:
>
> TIME > ARTIST - TITLE *SONG_CATEGORY
>
> for example
>
> 17:12:26 > THE CURE - ALT.END *NEW
>
> the values before > and after * are changing, hope there's a simple
> solution for this
>
> thanx
>
--
David Grant
http://www.grant.org.uk/
Navigation:
[Reply to this message]
|