Regular Expressions 101

Sponsors

Library entries

1
python

Tag Text

Match text between html tags
Submitted by Si - 7 years ago
2
python

Regex for Chemical Compounds

no description available
Submitted by Haiming Zhao - 7 years ago
1
python

kasper-py-regexp for agent

no description available
Submitted by reza-ad - 7 years ago
1
python

дом

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

DNS Name

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

test

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

test

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

Find datetime directory

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

shopware-article-number

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

sophos

my first one
Submitted by bwl - 7 years ago
1
python

me

me
Submitted by me - 7 years ago
1
python

me

paypal accounts
Submitted by jhon - 7 years 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