[thelist] Regex

phil crawford crawford_phil at hotmail.com
Thu Feb 28 16:05:00 CST 2002


>Need some help here. Trying to figure out a regex pattern for all
>valid html tags. Basically, it should grab anything like
><HTML> or <html> or <HtML> or <a> or <A>. So far, not have too much luck.
>Here is what I've got :
>
>(<\/?\w+)(>/\s+)
>
>Probably not even close.
>
>Thanks,
>Burhan

lots of ideas:
http://www.google.com/search?hl=en&q=regex+pattern+for+all+html+tags

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com




More information about the thelist mailing list