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...
1
gh
ECMAScript (JavaScript)
no description available
Submitted by
ghb
-
11 years ago
1
IPv4 extraction
Python
no description available
Submitted by
Jacob
-
11 years ago
2
@import url(comments.css)
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
Check fr date format
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
myregex
PCRE (PHP <7.3)
no description available
Submitted by
shakti
-
11 years ago
1
select stuff of </a> [beta]
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
get all title value && all the text in <a/>
PCRE (PHP <7.3)
no description available
Submitted by
Kerosene
-
11 years ago
1
dsf
ECMAScript (JavaScript)
no description available
Submitted by
fdsfdsfdsf
-
11 years ago
1
css all comments
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
gk
PCRE (PHP <7.3)
wertyuikjh
Submitted by
hjk
-
11 years ago
0
In a pipe separed list of values check for a concrete one
PCRE (PHP <7.3)
no description available
Submitted by
furbypaloma
-
11 years ago
2
Replace \n by <br />
ECMAScript (JavaScript)
Replace non-ending string \n by the HTML tag
Submitted by
anonymous
-
11 years ago
0
background:url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
35
http://
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
1
javascript variable
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-3
Date and Time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Grab double or single quoted text, escape aware
PCRE (PHP <7.3)
^$ are only added for the test cases, handles escapes and the closing \\" situation
Submitted by
robin
-
11 years ago
1
Inside single quotes, escape aware
PCRE (PHP <7.3)
Allows the single quote to be escaped, handles the \\' situation
Submitted by
Robin
-
11 years ago
1
...
892
893
894
895
896
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
(
https
?
)
:
\/\/
)?
(
www
.
)?
[
a
-
z0
-
9
]
+
(
\.
[
a
-
z
]
{2,}
){1,3}
(
#
?
\/
?
[
a
-
zA
-
Z0
-
9#
]
+
)*
\/
?
(
\?
[
a
-
zA
-
Z0
-
9-_
]
+
=
[
a
-
zA
-
Z0
-
9-%
]
+
&
?
)?
/
gm
Open regex in editor
Description
web validation
Submitted by
anonymous
-
3 years ago