Tutorial  Tools & Languages  Examples  Reference 

Matching HTML Tag Pairs

<([A-Z][A-Z0-9]*)[^>]*>.*?</\1>

Options: dot matches newline; case insensitive

Regular expression analyzed with RegexBuddy.
HTML output from RegexBuddy adapted with a PowerGREP search-and-replace sequence.

Welcome
Tutorial
Tools and Languages
Examples
Reference
About This Site
Download and Print