Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
\(?\b([2-9]{1}[0-9]{2})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})\b
/
g

Description

rips all phones out of memo/text block stores by

Submitted by dano - 8 years ago