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,000 community submitted regex patterns...
2
Number or Range
ECMAScript (JavaScript)
Allows either a number (e.g. "1", "1.01") or a range (e.g. "1-2", "1.0 - 1.3"). Also allows whitespace on either side of the numbers.
Submitted by
Mark Newcomb
-
8 years ago
1
Tag without content
PCRE (PHP <7.3)
Will detect a tag
Submitted by
Marc Clément
-
8 years ago
1
WIP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
U.S. Telephone Numbers (No 800 or 900#)
PCRE (PHP <7.3)
Block 800, 855, 866, 877, 888 as well as 900 numbers.
Submitted by
hammraido
-
8 years ago
1
tags
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Regex matching non-prime unary numbers
PCRE (PHP <7.3)
reg(sn) => boolean: reg('1111') => true reg('xxxxxxxxxxx') => false
Submitted by
anonymous
-
8 years ago
1
german date without validation
PCRE (PHP <7.3)
checks the format but does not validate
Submitted by
JvN
-
8 years ago
1
Expression for -1 to infinite
ECMAScript (JavaScript)
no description available
Submitted by
Nitin Zajam
-
8 years ago
1
URL matched
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Primes
PCRE (PHP <7.3)
Find primes
Submitted by
anonymous
-
8 years ago
0
Email Validation
PCRE (PHP <7.3)
Email validation according to RFC standards
Submitted by
Colton T.
-
8 years ago
1
matching sql input
ECMAScript (JavaScript)
no description available
Submitted by
mee
-
8 years ago
1
Validate PHP DateInterval Format
PCRE (PHP <7.3)
Checks if string is valid DateInterval format
Submitted by
grambas
-
8 years ago
1
Regex Library
PCRE (PHP <7.3)
I don't know
Submitted by
Bruno
-
8 years ago
1
MAC ADDRESS
Python
no description available
Submitted by
abaumann
-
8 years ago
1
Match @usernames
PCRE (PHP <7.3)
Match @usernames in text.
Submitted by
rjstone
-
8 years ago
1
Only first name and last name
ECMAScript (JavaScript)
No numbers, no special characters, no triple (or more) repeating characters
Submitted by
ranst
-
8 years ago
1
GettyImages links
ECMAScript (JavaScript)
capture image id from a variety of gettyimages links
Submitted by
Ahmed Hassanein
-
8 years ago
1
Port & Port rage regex
ECMAScript (JavaScript)
Matches port and port range max to 2^16. Match: 1 2 3 99...
Submitted by
Dan
-
8 years ago
1
password regex
PCRE (PHP <7.3)
Contrôler si le mot de passe possède des lettres minuscules ou majuscules de a à z, des chiffres de 0 à 9 et des caractères spéciaux.
Submitted by
Worldwide
-
8 years ago
1
...
640
641
642
643
644
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
<iframe
.
+
?
src="https
?
:
\/\/
www
\.
youtube
\.
com
\/
embed
\/
(
[
a
-
zA
-
Z0
-
9_-
]
{11}
)
"
[^
>
]
+
?
><
\/
iframe>
$
/
g
Open regex in editor
Description
I don't know
Submitted by
Bruno
-
8 years ago