Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,800 community submitted regex patterns...
40
URL regexp
PCRE (PHP <7.3)
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago
1
...
588
589
590
Date with this format YYYY-MM-DD and year start 20 or 21
-4
Regular Expression
PCRE (PHP <7.3)
/
^
(
20
|
21
)
[
0
-
9
]
{2}
-
(
0
[
1
-
9
]
|
1
[
0
-
2
]
)
-
(
0
[
1
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
1
]
)
$
/
date php
Open regex in editor
Description
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014
Submitted by
cisc0
-
10 years ago