Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » .NET » balancing groups
  • Re: Matching Open/Close HTML tags possible?

    Balancing groups to the rescue! (I hope .NET 1.1 understands those. 2.0 does.) (?xsi) # ignore whitespace for fancy comments, singleline, case insensitive <div\salign=center> # opening tag (This is where you specify your search term) (?>(?:(?!</?div).)*) # not a opening or closing div tag, ...
    Posted to Construction Advice (Forum) by eSquire on May 2, 2007