[thelist] regexp problem

Alex Beston alex at deltatraffic.co.uk
Thu Jul 8 05:27:25 CDT 2004


thanks - worked a treat!

Alex

>
>
> "/<a[^>]*>.*?<\/a>/"
>
> Note that I've escaped the '/' in '</a>'
>
> Technically, you can use anything as a start and finish marker for 
> your pattern, as long as it's the first thing that appears.  You could 
> avoid escaping the '/' in </a> by using '|' as a delimiter.  However, 
> it seems to have become common practice to use '/' these days, and 
> that's what most examples you'll see will use.
>
 


More information about the thelist mailing list