Regular Expressions 101

Community Patterns

html text grep

0

Regular Expression
PCRE (PHP <7.3)

/
<(\w+)(\s[^>]*)?>\s*([^\s<].*?)(<\/\1>)
/
sg

Description

no description available

Submitted by Cyrbil - 10 years ago