Regular Expressions 101

Library entries

HTML Tags

Vote

1

Regular Expression
javascript

/
<([\/!]?[-A-z\d]+(\s+?(\s*?[^'"=/>\s]+(=([^'"/> ]*?|'.*?'|".*?")|))+|)\s*?\/?|\s*?\/?)\s*?>
/
gs

Description

Loading markdown...
Submitted by anonymous - 8 days ago