Regular Expressions 101

Sponsors

Library entries

0
python

Apache Log Format Parser

no description available
Submitted by anonymous - 7 years ago
0
python

phone number

no description available
Submitted by Dries Werckx - 7 years ago
0
python

All Same Number

Check all the numbers are same in a string.
Submitted by DJA - 7 years ago
0
python

Inf_lab2

Regular expressions for lab2
Submitted by anonymous - a month ago
0
python

EC2 Instance Type

Validates ec2 instance types as of 10/19/22
Submitted by anonymous - a month ago
0
python

DD followed by Month in String

-
Submitted by anonymous - a month ago
0
python

Find ID

a
Submitted by Shaqalito - a month ago
0
python

Parse AWS RDS Releases

Parse AWS RDS Releases
Submitted by anonymous - a month ago
0
python

audiomack

valid url test for audiomack website
Submitted by Abdullah Ibn Fulan - 21 days ago

Phone number validator

Vote

-1

Regular Expression
python

"
^\(?(?P<prefix>(?=1)|\+|(?:0(?:0(?:0|1|9)?|1(?:0|1))?|119))[-. ]?\(?(?P<CC>1([-. ]?)[0-9]{3}|2(?:0|[0-9]{2})|3(?:[0-469]|[0-9]{2})|4(?:[013-9]|[0-9]{2})|5(?:[1-8]|[0-9]{2})|6(?:[0-6]|[0-9]{2})|7(?:[-. ]?[67]|[0-9]{3})|8(?:[1246]|[0-9]{2})|9(?:[0-58]|[0-9]{2}))(?:\)?[-. ])?(?P<number>(?:[0-9]+[-. ]?)+)$
"
mg

Description

Loading markdown...
Submitted by Ādams Muzikants - 7 years ago