Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(((?:\+|00)964)|(0)*)7\d{9}$
/
gm

Description

Regex for Iraq mobile numbers 🇮🇶📱

but the mobile number should be without any spaces between the number so you should remove all white spaces

By:- Russulh 💁🏻‍♀️

Peace ✌🏼

Submitted by anonymous - 6 years ago