It's worth noting that the Perl Cookbook (Recipe 20.6) cites the regexp below as invalid for all but the most simple HTML. If you're using Perl, try using a package like HTML::Parser. Otherwise, you're going to have a very hard time constructing a regexp that does this. -----Original Message----- From: Lindsay Evans [SMTP:lindsay at redsquare.com.au] Sent: Thursday, February 28, 2002 5:02 PM To: thelist at lists.evolt.org Subject: RE: [thelist] Regex > Need some help here. Trying to figure out a regex pattern for all > valid html tags. try this: (<[^>]*>) -- Lindsay Evans.