[thelist] Regex

Burhan Khalid burhankhalid at members.evolt.org
Thu Feb 28 15:56:01 CST 2002


Hey List :

         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




More information about the thelist mailing list