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 6,020 community submitted regex patterns...
5
Hello world !
ECMAScript (JavaScript)
no description available
Submitted by
Fedir RYKHTIK
-
11 years ago
2
Positive Numbers greater than 0 with leading zeroes.
ECMAScript (JavaScript)
Accepts all positive numbers above 0. Accepts numbers with leading zeroes e.g.: 0123, 00123.
Submitted by
Sandeep Ranka
-
10 years ago
4
Capturing items from multiple lists using a single regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Number with two max possible decimals
ECMAScript (JavaScript)
For float type inputs.
Submitted by
Juanma - https://github.com/juanmaa1414
-
9 years ago
4
Complete imgur link regex
Python
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
Submitted by
Mio
-
9 years ago
4
Full e-mail validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
8
extract subdomain(if available) or domain from URL
Python
This regex should extract the subdomain, if any, or the domain, if no subdomain is used, from an arbitrary URL
Submitted by
trevi@twanda.com
-
8 years ago
4
Match Brackets and anything inside
ECMAScript (JavaScript)
no description available
Submitted by
andreayang
-
11 years ago
3
mm/dd/yyyy Date
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
10 years ago
3
date time
Python
1/Jul/2013 03:27:12
Submitted by
himel
-
10 years ago
7
SO: fail2ban regular to find 403 request in nginx
Python
http://stackoverflow.com/q/25778420/2072035
Submitted by
anonymous
-
10 years ago
(Last modified a year ago)
7
TimezoneOffset
ECMAScript (JavaScript)
used to parse timezone in the format -08:00 or +05:30
Submitted by
Neha
-
10 years ago
2
price float pattern
ECMAScript (JavaScript)
Checks that value is float format and has two digits at max
Submitted by
@jprajani
-
10 years ago
7
simple email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
Italian VAT (IVA)
ECMAScript (JavaScript)
Italian VAT
Submitted by
Italo
-
9 years ago
3
Social Security Number (SSN)
ECMAScript (JavaScript)
tests for valid social security numbers according to the social security administration. more specifically: -disallows a group to have all 0s -disallows first group to have all 6s -disallows a ssn to begin with 9 note that this does not test for issued ssn's. that would be impossible to implement h...
Submitted by
noxToken
-
9 years ago
1
Date-Validation with mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy
ECMAScript (JavaScript)
Date Validation with leap year handling, & it takes care of date validation in the format like :mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy or m-d-yyyy. 12/01/1986 02/29/2016 02/29/2015 13/31/1986...
Submitted by
Ashish
-
9 years ago
6
Find consecutive duplicate words
Python
no description available
Submitted by
anonymous
-
9 years ago
7
Extract currency with currency symbol if present
ECMAScript (JavaScript)
Extracts values of the form £nnn,nnn.nn or $nnn.nnn from text
Submitted by
Simon Gardner
-
9 years ago
6
Spanish DNI/NIE check fist pass
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Casanova Morera
-
9 years ago
1
2
3
4
5
6
...
301
2line
1
Regular Expression
Python
r"
^\w
[
a
-
z
]
[^
\d
:
\n
]
+
$\s
[
a
-
z
]
[^
\d
]
+
(
(
-
[
\d
,
]
+
|
[
\d
,
]
+
)
\s
(
\s
+
)?
(
-
[
\d
,
]
+
|
[
\d
,
]
+
)
.
*
)
"
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago