Regular Expressions 101

Library entries

HTML Tag Filtering

Vote

0

Regular Expression
pcre

/
<\/?([a-zA-Z][a-zA-z0-9]+)[^>]*>(\s|[\w\W])+?<\/?\1>
/
gm

Description

Loading markdown...
Submitted by Mohammed Yehia - 6 years ago