Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-06-29 10:54
Flavor·PCRE (Legacy)

/
(0|\+98)?([ ]|-|[()]){0,2}9[1|2|3|4]([ ]|-|[()]){0,2}(?:[0-9]([ ]|-|[()]){0,2}){7}
/
g
Open regex in editor

Description

Iranian cell phone number pattern to being used in regular expression this work for iranian operator (irancell , Taliya, MCI,RighTel) Irancell and Taliya : 093 , MCI : 091 , RighTel : 092 cheers

Submitted by nasserFet