Regular Expressions 101

Sponsors

Library entries

0
python

分组引用

分组引用
Submitted by anonymous - a month ago
0
python

Phone number

Phone number
Submitted by anonymous - a month ago
0
python

Bot-Studio Comments

Regex For Comments In Bot Studio Via YT Docs
Submitted by Codaea - a month ago
0
python

Author names

Matches author names
Submitted by anonymous - a month ago
0
python

TRye bracktres

gfhtrgh
Submitted by anonymous - a month ago
0
python

Out of

Out of
Submitted by anonymous - 20 days ago
0
python

Contas regex

A simple regex for contas bancárias
Submitted by anonymous - 19 days ago
0
python

singleTime ztm

ss
Submitted by pochwix2 - 19 days ago
0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 18 days ago
0
python

Code Block Splitting

Useful for getting codeblock from a text
Submitted by anonymous - 17 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