Regular Expressions 101

Sponsors

Library entries

2
dotnet

Replace sub-strings in string

Replace sub-strings in string
Submitted by anonymous - 3 months ago
0
dotnet

Script Tag Json

asd
Submitted by anonymous - a year ago
0
dotnet

篩選MP Log Day

篩選MP Log Day
Submitted by anonymous - a year ago
0
dotnet

E-mail

My first simple e-mail validator regex :)
Submitted by anonymous - a year ago

Phone number

Vote

4

Regular Expression
pcre

/
^((((\+[\d\-.]{1,5})?[ \-.]?\d{3})|(\+[\d\-.]{1,5})?[ \-.]?\((\d{3}\)))?[ \-.]?\d{3}[ \-.]?\d{4}\s?(e?x?t?\.?\s?\d{1,7})?)?$
/
i

Description

Loading markdown...
Submitted by Mark Landry - 8 years ago