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 14,940 community submitted regex patterns...
1
LUA double-quoted string
PCRE (PHP <7.3)
no description available
Submitted by
Daniele V
-
9 years ago
1
? - One or Zero times Quantifier Example
ECMAScript (JavaScript)
Here, it matches ft or ft. & foot & feet
Submitted by
Dinesh Dontha
-
9 years ago
1
Norwegian Address Pattern
PCRE (PHP <7.3)
Street name XXX, XXXX City XXX = House number XXXX = Zip code Example:...
Submitted by
Yuppielabel
-
9 years ago
0
Find all attributes and values of HTML tag
PCRE (PHP <7.3)
This regex will find all attributes, values, and the equal operator, as well as the white space between attributes. You can use this to extract all attributes to remove all inline styles.
Submitted by
Demetri Ojeda
-
9 years ago
1
yahya_asadi
ECMAScript (JavaScript)
trying to learn regex
Submitted by
yahya_asadi
-
9 years ago
0
PowerShell + Regex to match and output to csv
PCRE (PHP <7.3)
no description available
Submitted by
Jan
-
9 years ago
1
detect bot
Python
no description available
Submitted by
luckydonald
-
9 years ago
1
Впереди стоящий символ и последний
Python
Опережающая и ретроспективная проверки
Submitted by
Суховерхоа Денис
-
9 years ago
1
наличие автомобиля TRUE REG
Python
no description available
Submitted by
anonymous
-
9 years ago
1
наличие автомобиля FALSE REG
Python
no description available
Submitted by
anonymous
-
9 years ago
2
String Interpolation
ECMAScript (JavaScript)
String Interpolation. Works Like Angular
Submitted by
Aykut Alpgiray Ateş
-
9 years ago
1
Czech phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
text validation
ECMAScript (JavaScript)
allows white spaces, -, Umlaut and ß
Submitted by
anonymous
-
9 years ago
0
Last SEO RegExp
Python
Last SEO RegExp
Submitted by
Jay Patel
-
9 years ago
5
Form Tag
Python
Form Tag
Submitted by
Jay Patel
-
9 years ago
1
SEO RegExp
Python
SEO RegExp
Submitted by
Jay Patel
-
9 years ago
1
get user authentication
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Get src and srcset image attributes, and other attributes
PCRE (PHP <7.3)
Not depending on the src or srcset order, but some matches can be empty, depending on the img syntax.
Submitted by
Geoffrey Crofte & Sébastien Decamme
-
9 years ago
1
Have one word and don't have another
PCRE (PHP <7.3)
Search for /cat/ in the string where don't have /prod/ itself.
Submitted by
Douglas Ianitsky
-
9 years ago
1
Validate US Telephone Numbers
ECMAScript (JavaScript)
no description available
Submitted by
Davide Vozzi
-
9 years ago
1
...
574
575
576
577
578
...
747
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago