Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
PCRE2 (PHP >=7.3)

/
(?<=[\s,.:;"']|^)café(?=[\s,.:;"']|$)
/
gm

Description

uncode word boundaries

Submitted by Mehmet Kozan - 5 months ago