Regular Expressions 101

Community Patterns

Community Library Entry

-1

Regular Expression
PCRE (PHP <7.3)

/
(:.+)(?(1)Cool!)
/
gm

Description

match String Cool! only if there is a : somewhere preciding it

Submitted by anonymous - 4 years ago