|
|
|
Perfect Regular Expression for a pair of HTML
0
This is the perfect regular expression for extracting a pair of html tags. For details, please seeThe regular expression for selecting a pair of HTML tag
<\s*(\w+)(?:[^>"']|"(?:\\"|[^"])*"|'(?:\\'|[^'])*')*>(([\s\S](?!<\s*\/$1>))*[\s\S])<\s*\/\s*$1>




There are currently no comments for this snippet.