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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,040 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.
-
12 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
-3
Date and Time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 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
-
11 years ago
-3
british postcode check
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-3
British Postcode Check
PCRE (PHP <7.3)
no description available
Submitted by
guest
-
11 years ago
-3
regex help
PCRE (PHP <7.3)
help please. i need regex,
Submitted by
James
-
11 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
-3
Match substitutions
Python
Match regular expressions substitutions, I personally use this to perform my validate if it is a substitution, then call re.sub() on it.
Submitted by
Zarthus
-
10 years ago
-3
mama
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
Detect a numeric string
ECMAScript (JavaScript)
no description available
Submitted by
Ankur Chauhan
-
10 years ago
-3
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
Select a HTML table and all its innerHTML
PCRE (PHP <7.3)
no description available
Submitted by
@ixzy24
-
10 years ago
-3
remove facebook urls from html
ECMAScript (JavaScript)
This will remove all facebook urls from a HTML string
Submitted by
Russell Miller
-
10 years ago
-3
Match email addresses and get the mail provider as a group
PCRE (PHP <7.3)
no description available
Submitted by
Ole
-
10 years ago
-3
Matches percentage with any number of digits
Python
Only captures value for converting percentage to decimal. Returns empty if percentage but no value. no match = no percentage found
Submitted by
sharkey
-
10 years ago
-3
RegEX for account code starting with 000-
PCRE (PHP <7.3)
no description available
Submitted by
Joe H
-
10 years ago
-3
Telephone
PCRE (PHP <7.3)
Find Telephone
Submitted by
Mr.Fail
-
10 years ago
-3
FQDN Fully Qualified Domain Name
PCRE (PHP <7.3)
no description available
Submitted by
Rafael Justo and Mauro Trajber
-
10 years ago
-3
ipv4 - short version
PCRE (PHP <7.3)
no description available
Submitted by
gromozeka
-
9 years ago
1
2
3
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^\d
{2}
.\d
{2}
.\d
{4}
\s\d
{2}
:
\d
{2}
:
\d
{2}
;
(
\d
{1,3}
,
\d
)
;
(
\d
{1,3}
,
\d
)
;
(
\d
{1,3}
,
\d
)
;
(
\d
{3}
,
\d
)
;
(
\d
{1,2}
,
\d
{3}
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
[
\d
,
]
+
)
;
(
\d
)
;
$
/
gm
Open regex in editor
Description
Christ Elektronic -> long version
Submitted by
Jan Alexander
-
4 years ago