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,020 community submitted regex patterns...
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
0
waypoints
Python
Text fields describing a name and positions
Submitted by
bruno.piguet@meteo.fr
-
11 years ago
1
...
891
892
893
894
895
...
901
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago