Regular Expressions 101

Community Patterns

Search a keyword NOT in html tags

1

Regular Expression
PCRE (PHP <7.3)

/
(trekking)(?![\w\s\t]*=?[\s\t]*"{1}[^"]*"{1}[^<>"]*>{1})(?![^>"]*"{1}[\s\t]*>{1})(?!<\/strong>)
/
gm

Description

no description available

Submitted by White Dragon - 8 years ago