Regular Expressions 101

Community Patterns

106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago

Egyptian Phone Numbers

0

Regular Expression
ECMAScript (JavaScript)

/
^0((13|2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\d{7}|1[0125]\d{8})$
/
gm

Description

Loading markdown...
Submitted by Mahmoud Mostafa - 9 months ago
(Last modified 9 months ago)