Regular Expressions 101

Sponsors

Library entries

0
pcre2

POI Google KML -> csv map plot

POI Google KML -> csv map plot
Submitted by anonymous - a year ago
0
pcre2

Robot 1

Ex
Submitted by anonymous - a year ago
0
pcre2

Json键值对提取

Json键值对提取
Submitted by hippopie - a year ago
0
pcre2

Lab 6 es 2.3

Carry a payload which is either ping or pong
Submitted by anonymous - a year ago
0
pcre2

lab 6 es 2.2

messages have been sent to bob
Submitted by anonymous - a year ago
0
pcre2

lab 6 es 2.1

messages directed towards alice
Submitted by anonymous - a year ago
0
pcre2

Lab 6 es 1.2

Accept long as first input argument
Submitted by anonymous - a year ago
0
pcre2

Lab 6 es 1.1

return an int
Submitted by anonymous - a year ago

US phone number

Vote

2

Regular Expression
pcre2

/
(\+?(\b1)?[\ .\/-]?((?(2)|(\b))|(\())\d{3}(?(?<=\(\d{3})\)|)[\ .\/-]?)?(?(1)|\b)\d{3}[\ .\/-]?\d{4}[\ ]?([xX][\ ]?\d{1,5})?\b
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago