Regular Expressions 101

Sponsors

Library entries

0
pcre2

Get Client

Parse Client type
Submitted by ben - a year ago
0
pcre2

reg

reg
Submitted by inj - a year ago
0
java

my regex

test
Submitted by anonymous - a year ago
0
pcre2

Parse Received header on email

Parse Received header on email
Submitted by anonymous - a year ago
0
pcre2

Match questions

To debug pasted questions with options
Submitted by anonymous - a year ago
0
pcre2

reg

r
Submitted by anonymous - a year ago
0
pcre2

IMPORTANT REGEX

important
Submitted by anonymous - a year ago
0
pcre2

Match Number in a string

That's all
Submitted by anonymous - a year ago

us-phone-number

Vote

0

Regular Expression
pcre2

/
(^\s*(?:\+?\d{1,3})?[-. (]*\d{3}[-. )]*\d{3}[-. ]*\d{4}(?: *x(\d+))?\s*)
/
gm

Description

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