Regular Expressions 101

Sponsors

Library entries

0
pcre2

URL

This pattern can detect URLs.
Submitted by anonymous - a year ago
0
pcre2

Email

no description available
Submitted by AiAbdrahim - a year ago
0
pcre2

Email

A valid Email
Submitted by AiAbdrahim - a year ago
0
python

conditional phone numbers

no description available
Submitted by anonymous - a year ago
0
pcre2

get first number from string

no description available
Submitted by anonymous - a year ago
0
pcre2

get main content if has :

no description available
Submitted by anonymous - a year ago
0
pcre2

Minify HTML

Remove Whitespace Remove Comment
Submitted by Habibi Mustafa - a year ago
0
pcre2

cisco command

no description available
Submitted by anonymous - a year ago
0
pcre2

Aplayer Icons Regex

no description available
Submitted by anonymous - a year ago
0
javascript

Url regex

no description available
Submitted by anonymous - a year ago
0
pcre2

Dup words

no description available
Submitted by anonymous - a year ago
0
python

Question 2

no description available
Submitted by anonymous - a year ago
0
pcre2

6 digit Sort Code without dashes

no description available
Submitted by anonymous - a year ago
0
pcre2

ReName_01_

no description available
Submitted by anonymous - a year ago
0
pcre2

9 digit mid IMB

no description available
Submitted by anonymous - a year ago
0
pcre2

6 digit mid IMB

no description available
Submitted by anonymous - a year ago
0
pcre2

Split on Letters, Numbers, and Dashes

no description available
Submitted by anonymous - a year ago
0
pcre2

BUN

no description available
Submitted by anonymous - a year ago

PhoneNumber

Vote

0

Regular Expression
javascript

/
((?:\+|00)[17](?: |\-|\.)?|(?:\+|00)[1-9]\d{0,2}(?: |\-|\.)?|(?:\+|00)1\-\d{3}(?: |\-|\.)?)?(0\d|\([0-9]{3}\)|[1-9]{0,3})(?:((?: |\-|\.)[0-9]{2}){4}|((?:[0-9]{2}){4})|((?: |\-|\.)[0-9]{3}(?: |\-|\.)[0-9]{4})|([0-9]{7}))
/
g

Description

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