Regular Expressions 101

Library entries

phones_celleb

Vote

0

Regular Expression
python

"
(?P<ID>[A-Z0-9]{4}|[0-9]{4})(?P<CATEGORY>000[A-Z0-9]{2})(?P<PHONE>[0-9]{8,9}|059\-[0-9]{6}|067\-[0-9]{6}|071\-[0-9]{7}|072\-[0-9]{7}|0\d\d\-[0-9]{3}\s[0-9]{3,4}|\+[0-9]{2}\s\([0-9]{3,4}\)\s[0-9]{3,4}|0[0-9]{1}\-[0-9]{7})
"
gm

Description

Loading markdown...
Submitted by anonymous - 3 years ago