PDA

Click to See Complete Forum and Search --> : Regular expression help!!!


alex_read
Aug 17th, 2004, 05:27 AM
<tag><tag>123@#?</tag>

Could anyone please give me a regular expression syntax which will pick up absolutely anything which could appear between <tag> and </tag> please>???

I'm trying to use this, but it picks up the entire string (i.e. the first instance of <tag>, rather than just the "<tag>123@#?</tag>" string...
<tag>([\d\D\s\S\w\W]+)</tag>

Thanks!!!

nemaroller
Aug 17th, 2004, 06:41 AM
Try this

http://www.regexlib.com/RETester.aspx?regexp_id=415