Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(.*(?!CP)) ((?=CP|UP).*) ((?=CP|UP).*)
/
gm

Description

Regex for took area name only

Submitted by anonymous - 2 years ago