Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^(((\+|00)?(90)|0)[-| ]?)?((5\d{2})[-| ]?(\d{3})[-| ]?(\d{2})[-| ]?(\d{2}))$
/
gm

Description

Türkiye'nin mobil telefonlarının desenini kontrol eder.

Örneğin; 555-123-45-67 0 555 123 45 67 +905551234567 00905551234567

Submitted by Furkan Rehber - 3 years ago