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 17,920 community submitted regex patterns...
-18
dd-mm-YYYY HH:mm:ss (year range 1000-2999)
PCRE (PHP <7.3)
Validate Gregorian calendar dates that contain 24-hour times. This will also correctly match the Feb 29 date when it falls on a valid leap year. Leap years occur every 4 years, with one exception: when a year is evenly divisible by 100 but not evenly divisible by 400, the year will not be a leap ye...
Submitted by
Ka.
-
11 years ago
(Last modified a year ago)
-4
Date with this format YYYY-MM-DD and year start 20 or 21
PCRE (PHP <7.3)
Date with this format YYYY-MM-DD and year start 20 or 21 like 2014
Submitted by
cisc0
-
11 years ago
-4
XmlnsDefinition
PCRE (PHP <7.3)
Get ClrNamespace and optional AssemblyName from XmlnsDefinition in xaml
Submitted by
Ivanov Anton
-
9 years ago
-4
Xml parser
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. Apply same pattern on capture group #3 (using recursion) to parse entire xml! Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
-4
Xml Parser
PCRE (PHP <7.3)
Captures TagName, attributes and value in seperate groups. --- Apply same pattern on capture group #3 (using recursion) to parse entire xml! --- Apply regex defined in teststring to capture group #2 to parse all the attributes for the current tag.
Submitted by
veryanonymous
-
8 years ago
-3
DateTime YYYY-MM-DD hh:mm:ss
PCRE (PHP <7.3)
no description available
Submitted by
Madhan
-
10 years ago
-3
Date and Time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
hjghj
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
Regular Expression For Phone Number Validation
ECMAScript (JavaScript)
no description available
Submitted by
Brian Jemilo II
-
10 years ago
-3
cake
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
Latitude/longitude tester
PCRE (PHP <7.3)
Tests the string if it does contain valid latitude and longitude parameters
Submitted by
Doro
-
10 years ago
-3
mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
s
ECMAScript (JavaScript)
s
Submitted by
anonymous
-
10 years ago
-3
1111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
111
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
british postcode check
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
British Postcode Check
PCRE (PHP <7.3)
no description available
Submitted by
guest
-
10 years ago
-3
regex help
PCRE (PHP <7.3)
help please. i need regex,
Submitted by
James
-
10 years ago
-3
Number
ECMAScript (JavaScript)
Gets all numbers in a string. This includes positive and negative numbers aswell as integers and floats. By: http://www.benlorantfy.com/
Submitted by
Ben
-
10 years ago
1
2
3
...
896
DateTime YYYY-MM-DD hh:mm:ss
-3
Regular Expression
PCRE (PHP <7.3)
/
(
^
(
(
(
\d\d
)
((
[
02468
]
[
048
]
)|
(
[
13579
]
[
26
]
))
-02-29
)
|
(
((
\d\d
)
(
\d\d
))
)
-
(
(((
0
\d
)|
(
1
[
0
-
2
]
))
-
((
0
\d
)|
(
1
\d
)|
(
2
[
0
-
8
]
)))
|
((((
0
[
13578
]
)|
(
1
[
02
]
))
-31
)|
(((
0
[
1,3
-
9
]
)|
(
1
[
0
-
2
]
))
-
(
29
|
30
)))
)
)
\s
(
(
[
01
]
\d
|
2
[
0
-
3
]
)
:
(
[
0
-
5
]
\d
)
:
(
[
0
-
5
]
\d
)
)
$
)
/
Open regex in editor
Description
no description available
Submitted by
Madhan
-
10 years ago