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 5,620 community submitted regex patterns...
2
Password Validation
Python
Checks for password containing at least 1 Upper case, 1 lower case, 1 digit and 1 special character, all together with a length of at least 8. (This pattern allows any order of the requried elements, other than what was been distributed here before)
Submitted by
Tom Spielvogel
-
8 years ago
7
Date and time format - ISO 8601
ECMAScript (JavaScript)
Matches ISO 8601 date formats
Submitted by
Ettienne
-
8 years ago
1
word matcher
ECMAScript (JavaScript)
no description available
Submitted by
Cengizism
-
8 years ago
1
sophos
Python
my first one
Submitted by
bwl
-
8 years ago
1
dXNpbmcgU3lzdGV.GtLklPOw0KdXNpbmcgU3lzdGVtOw0KDQpjbGFzcyBQcm9
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
gasmeter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
compile -> link replace
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
---
ECMAScript (JavaScript)
Submitted by
rs
-
8 years ago
1
me
Python
me
Submitted by
me
-
8 years ago
1
me
Python
paypal accounts
Submitted by
jhon
-
8 years ago
1
matching inline note
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Amazon S3 Scheme-Bucket-Key
Python
Regex which finds and groups the Amazon S3 scheme (e.g. s3, s3n, s3a), bucket name, and key.
Submitted by
Sterling Hoeree
-
8 years ago
1
contact email validator updated
ECMAScript (JavaScript)
contact email validator updated for dash and number in domain TLD
Submitted by
anonymous
-
8 years ago
1
contact email address validation
ECMAScript (JavaScript)
validate contact email clientside in JS
Submitted by
anonymous
-
8 years ago
2
ofstream ifstream file C++
Python
match ofstream of("test.txt", ios_base::app); ofstream of("test.txt", ios_base::trunc); ofstream of("test.txt", ios_base::binary);
Submitted by
Денис Суховерхов
-
8 years ago
1
ofsream open file C++
Python
match of.open("test.txt");
Submitted by
Денис суховерхов
-
8 years ago
1
shift+click url() parser
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Phone number extract
Python
Used to get the phone number from a list of phone numbers
Submitted by
jmitz
-
8 years ago
1
Search number in comma separated list
ECMAScript (JavaScript)
Search each occurence of one number in a comma separated list string
Submitted by
Tommaso frazzetto
-
8 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
8 years ago
1
...
226
227
228
229
230
...
281
Check if string matches a valid CSS color (hex, rgb, rgba, hsl, hsla)
1
Regular Expression
ECMAScript (JavaScript)
/
^
#
(?:
[
\d
a
-
f
]
{3}
){1,2}
$
|
^
#
(?:
[
\d
a
-
f
]
{4}
){1,2}
$
|
(
rgb
|
hsl
)
a
?
\(
(
\s
*
-
?
\d
+
%
?
\s
*
,
){2}
(
\s
*
-
?
\d
+
%
?
\s
*
)
\)
|
(
rgb
|
hsl
)
a
?
\(
(
\s
*
-
?
\d
+
%
?
\s
*
,
){3}
\s
*
(
0
|
(
0
?
\.
\d
+
)
|
1
)
\)
/
gmi
Open regex in editor
Description
no description available
Submitted by
Ioannis Potouridis
-
6 years ago