Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
\b[a-zA-z]*statin[a-zA-Z]*\b
/
gm

Description

pattern to ensure keywords are picked up if words on either side

Submitted by anonymous - 2 years ago