Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(\s*)?(\+)?([- _():=+]?\d[- _():=+]?){10,14}(\s*)?$
/

Description

Съедает следующие телефоны: +7(903)888-88-88 8(999)99-999-99 +380(67)777-7-777 001-541-754-3010 +1-541-754-3010 19-49-89-636-48018 +233 205599853

Submitted by anonymous - 6 years ago