Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-10-23 15:06
Flavor·PCRE (Legacy)

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

Description

Will match on South African Cell numbers includes optional country code. --doesn't support "00<C_code>" coding. Only supports "+<C_code>" allows for splitting the number with spaces eg.+2786 123 4567

Submitted by Zalatos