Regular Expressions 101

Library entries

match all html tags

Vote

-2

Regular Expression
pcre

/
<\/?\w+((\s+\w+(\s*=\s*(?:".*?"|'.*?'|[^'">\s]+))?)+\s*|\s*)\/?>
/
g

Description

Loading markdown...
Submitted by anonymous - 6 years ago