Regular Expressions 101

Community Patterns

1...56789...902

Community Library Entry

-2

Regular Expression
PCRE (PHP <7.3)

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