Re: preg guru again.....
| From: | Adam Bregenzer | Date: | Mon, 23 Feb 2004 19:45:24 +0000 |
| Subject: | Re: preg guru again..... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178585@lists.php.net to get a copy of this message | ||
On Mon, 2004-02-23 at 11:36, pete M wrote:
> Here is a snippet
> ð:2002020720020208:default@Ô ÊdA@
> E¨:†”http://www.lyricsworld.com/cgi-bin/search.cgi?q=Bruce
> +Springsteen&m=phrase&ps=20&o=0&wm=wrd&ul=&wf=22221ðððð
>
> it breaks down in the following elements
> the :date: in the format yyyymmddyyyymmdd
> The expression I'm using is
> (":16[0-9]:")
> ie matching the : with 16 digits :
here's a start:
/:(\d+):([^@]+)@([\w&=+\/:\\%-]+)/i
--
Adam Bregenzer
adam@bregenzer.net
http://adam.bregenzer.net/