Regular Expressions 101

Community Patterns

South African Cell numbers

1

Regular Expression
PCRE (PHP <7.3)

/
^(\+)?(0|27)([5-9])([0-9])( )?([0-9]{3})( )?([0-9]{4})$
/
gm

Description

Loading markdown...
Submitted by Zalatos - 8 years ago