Regular Expressions 101

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

Library entries

0
pcre2
Submitted by anonymous - an hour ago

6 digit Sort Code without dashes

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

Question 2

no description available
0
pcre
Submitted by anonymous - 5 hours ago

CODA download log

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

Dup words

no description available
2
pcre2
Submitted by anonymous - a day ago

Dutch zipcodes

no description available
1
pcre2
Submitted by anonymous - a day ago

Dutch mobile phone number

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

Url regex

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

aaa

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

Aplayer Icons Regex

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

cisco command

no description available
0
pcre2
Submitted by Habibi Mustafa - a day ago

Minify HTML

Remove Whitespace Remove Comment
0
pcre2
Submitted by anonymous - a day ago

get main content if has :

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

get number from string

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

conditional phone numbers

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

Email

A valid Email
0
pcre2
Submitted by AiAbdrahim - 2 days ago

Email

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

URL

This pattern can detect URLs.

Date time Advanced

Regular Expression
pcre

/
(?<day>0[1-9]|1[0-9]|2[0-9]|3[01]).(?<month>0[1-9]|1[012]).(?<year>[0-9]{4})(?: (?<hour>[0-1]\d|2[0-3]):(?<minute>[0-5]\d):(?<second>[0-5]\d)|)
/

Description

Loading markdown...
Submitted by Mr.Neutro - 7 years ago