Re: exclude part of text

From: Date: Tue, 29 Nov 2005 16:44:41 +0000
Subject: Re: exclude part of text
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-226591@lists.php.net to get a copy of this message
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/

« previous php.general (#226591) next »