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...
0
wildcard url match with url
PCRE (PHP <7.3)
no description available
Submitted by
Ahosan Karim Asik
-
10 years ago
0
replace all script sources
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
10 years ago
0
xml encoding detection
PCRE (PHP <7.3)
xml encoding detection encoding=(\"\S+")
Submitted by
anonymous
-
10 years ago
1
Phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Dotted Quad
PCRE (PHP <7.3)
IP PCRE
Submitted by
Awkwardly Scripted
-
10 years ago
1
smiley
PCRE (PHP <7.3)
no description available
Submitted by
@barraponto
-
10 years ago
1
Extract ids (values) with regex
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
10 years ago
0
IPv4 private network address
PCRE (PHP <7.3)
Check if the given string is a private address
Submitted by
Loïc Rameau
-
10 years ago
1
Mustafa Özcan
PCRE (PHP <7.3)
mustafa özcan
Submitted by
<a href="http://www.mustafaozcan.info/" title="mustafa özcan">mustafa
-
10 years ago
-2
Deleting everything except words starting with “#â€
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
10 years ago
1
Simple first exercise of a newbie
ECMAScript (JavaScript)
Find a group of 9 letters subdivided in groups of three by a dash.
Submitted by
Nicola Jelmorini
-
10 years ago
1
replace only inner text without tag element
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
1
Temp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Cross-Platform Simple Email Validator
PCRE (PHP <7.3)
Not perfect, but solid and cross platform
Submitted by
anonymous
-
10 years ago
1
celular com CSP e SEM CSP
PCRE (PHP <7.3)
no description available
Submitted by
Marcos Müller
-
10 years ago
-2
A few Australian address parser
PCRE (PHP <7.3)
A few Australian address parser
Submitted by
Dennis Deljouei
-
10 years ago
1
Files with numbers greater than 1950
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
first num after rgb
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
indentation
Python
no description available
Submitted by
z
-
10 years ago
(Last modified a year ago)
1
youtube id watch embed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
86
87
88
89
90
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?<hostip>
[^
]
+
)
-
-
\[
(?<timestamp>
[^
]
+
\s
-
\d
+
)
\]
"
(?<method>
[^
]
+
)
\s
(?<request>
[^
]
+
)
HTTP
\/
\d
\.
\d
"
\s
(?<response>
\d
+
)
\s
(?<size>
\d
+
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago