Regular Expressions 101

@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
Whats new?

Library entries

0
pcre2
Submitted by anonymous - 6 hours ago

get first number from string

no description available
0
pcre2
Submitted by anonymous - 16 hours ago

ReName_01_

no description available
0
pcre2
Submitted by anonymous - 19 hours ago

6 digit Sort Code without dashes

no description available
0
python
Submitted by anonymous - 21 hours ago

Question 2

no description available
0
pcre
Submitted by anonymous - a day ago

CODA download log

no description available
0
pcre2
Submitted by anonymous - 2 days ago

Dup words

no description available
2
pcre2
Submitted by anonymous - 2 days ago

Dutch zipcodes

no description available
1
pcre2
Submitted by anonymous - 2 days ago

Dutch mobile phone number

no description available
0
pcre
Submitted by anonymous - 2 days ago

Url regex

no description available
0
pcre
Submitted by anonymous - 2 days ago

aaa

no description available
0
pcre2
Submitted by anonymous - 2 days ago

Aplayer Icons Regex

no description available
0
pcre2
Submitted by anonymous - 2 days ago

cisco command

no description available
0
pcre2
Submitted by Habibi Mustafa - 2 days ago

Minify HTML

Remove Whitespace Remove Comment
0
pcre2
Submitted by anonymous - 2 days ago

get main content if has :

no description available
0
python
Submitted by anonymous - 2 days ago

conditional phone numbers

no description available

Date Regex(DD/MM/yyyy)

Regular Expression
pcre

/
^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$
/
g

Description

Loading markdown...
Submitted by alcaamado - 6 years ago