Regular Expressions 101

Sponsors

Library entries

1
pcre

Phone number

U.S. Phone number with optional area code.
Submitted by anonymous - 7 years ago
2
pcre

Match 3 Repeating Numbers

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

UAE phone numbers

no description available
Submitted by sathik ali - 7 years ago
0
pcre

catch Loadcase Name

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

polish post code

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

open_knowledge

no description available
Submitted by stephan.mueller@openknowledge.de - 7 years ago
1
pcre

C2D: Call reference

no description available
Submitted by EnigmaSoft - 7 years ago
1
pcre

C2D: Callee

no description available
Submitted by EnigmaSoft - 7 years ago
1
pcre

C2D: Callee

agent extension external agent
Submitted by EnigmaSoft - 7 years ago
1
pcre

C2D: Outbound_id

no description available
Submitted by EnigmaSoft - 7 years ago
1
pcre

Get src in img

Get src in img
Submitted by Andy - 7 years ago

Phone Number Extraction

Vote

0

Regular Expression
pcre

/
(?:\+?(?<COUNTRY_CODE>\d{1})?-?\(?(?<AREA_CODE>\d{3})\)?[\s-\.]?)?(?<PART1>\d{3})[\s-\.]?(?<PART2>\d{4})[\s-\.]?
/
gm

Description

Loading markdown...
Submitted by codedude - 8 years ago