Regular Expressions 101

Sponsors

Library entries

0
python

payment sign day 1

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

Last word in a string

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

CNPJ Brasileiro

Identifica CNPJ
Submitted by anonymous - 2 years ago
0
python

UF Brasil

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

t1

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

t2

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

t3

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

t3

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

t2

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

UWN main regex - selecting rows

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

UWN - deleting category annotations

no description available
Submitted by anonymous - 2 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