Regular Expressions 101

Sponsors

Library entries

1
javascript

word boundary position

no description available
Submitted by anonymous - 2 years ago
1
javascript

matching numbers

no description available
Submitted by anonymous - 2 years ago
1
javascript

matching phone numbers

no description available
Submitted by anonymous - 2 years ago
1
javascript

Replacing markup link to html

no description available
Submitted by anonymous - 2 years ago
1
python

s3_date_select

no description available
Submitted by anonymous - 2 years ago
1
javascript

email validation

no description available
Submitted by anonymous - 2 years ago
1
javascript

Repeated words

no description available
Submitted by anonymous - 2 years ago
1
python

filenamewhitlist

no description available
Submitted by anonymous - 2 years ago
1
javascript

bilibili排行前100

no description available
Submitted by anonymous - 2 years ago
1
python

oracle_string_content_individuation

no description available
Submitted by anonymous - 2 years ago
1
javascript

Phone USA and CANADA

no description available
Submitted by anonymous - 2 years ago
1
python

NewWheel

no description available
Submitted by anonymous - 2 years ago
1
python

NewWheel

no description available
Submitted by anonymous - 2 years ago

US phone number

Vote

2

Regular Expression
pcre2

/
(\+?(\b1)?[\ .\/-]?((?(2)|(\b))|(\())\d{3}(?(?<=\(\d{3})\)|)[\ .\/-]?)?(?(1)|\b)\d{3}[\ .\/-]?\d{4}[\ ]?([xX][\ ]?\d{1,5})?\b
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago