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...
-2
find mp3 file
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-
9 years ago
-2
Match XML that has a single root element
PCRE (PHP <7.3)
Can be used as a basic validator to ensure that XML has only a single root element
Submitted by
Jerome Wilson
-
9 years ago
-2
Numbers separated by comma and whitespace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Match the first and last char of a word
PCRE (PHP <7.3)
no description available
Submitted by
pedroppinheiro
-
9 years ago
-2
Date Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
domain name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
lowercase words followed by uppercase words. Be able to separate words
PCRE (PHP <7.3)
Tinta del paísSuelo: Arena 100%Altitud media: 900mEdad del viñedo: PrefiloxeraRendimiento: 1800 Kg/haLugar: Ribera del Duero, FuentelcéspedBodega:Bodegas y Viñedos Juan Manuel Burgos
Submitted by
Eduard eduard.fabra@uvinum.com
-
9 years ago
-2
Validation of code ATECO Italian
Python
/* -- This is a RegEx for validating one Italian ATECO code. -- For original specification visit: http://www.istat.it/it/archivio/17888 -- Valid: */ 1...
Submitted by
Marco Tonchella with the help of this Comunity that thanks a lot.
-
9 years ago
-2
match all html tags
PCRE (PHP <7.3)
http://haacked.com/archive/2004/10/25/usingregularexpressionstomatchhtml.aspx/
Submitted by
anonymous
-
9 years ago
-2
SQL Comment
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
match wordpress plugins [plugin_name ...]...[/plugin]
PCRE (PHP <7.3)
no description available
Submitted by
chris backhouse
-
9 years ago
-2
Remove updir tokens from url
PCRE (PHP <7.3)
Remove /../ recursively from urls
Submitted by
santiagoarizti@gmail.com
-
9 years ago
-2
LogFile Alert: Pattern 'Memory queue for message type 1: 3038' found i
PCRE (PHP <7.3)
LogFile Alert: Pattern 'Memory queue for message type 1: 3038' found in /var/log/me
Submitted by
anonymous
-
9 years ago
-2
ex_3_b
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
6 Digit ID
PCRE (PHP <7.3)
Very basic. My first proper REGEX. 6 Digit ID starting with e. Must be lowercase. must start with an e (can change to another letter)
Submitted by
BejasC#
-
9 years ago
-2
MYSQL DateTime validator (leap year support)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Prosed OFX DateTimeType pattern for v.2.1.1+
Python
no description available
Submitted by
Oleg Sakharov karpuscul@gmail.com
-
9 years ago
-2
^.+(c.youtube.com|googlevideo.com|cdn.dailymotion.com).*\$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
3~4 length password
PCRE (PHP <7.3)
1.the string can be of lenght 3 or 4 2.the string should start with a alphabet 3.the string should contain atleast one alphabet and number.
Submitted by
Kerwin
-
9 years ago
-2
12 Hour Time Pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
6
7
8
9
10
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?P<client_ip>
[
\d
.
]
+
)
-
-
\[
(?P<timestamp>
.
*
?
)
\]
"
(?P<request_method>
\w
+
)
(?P<request_uri>
.
*
?
)
(?P<protocol>
.
*
?
)
(?P<protocol_version>
.
*
?
)
"
(?P<status>
\d
+
)
(?P<response_size>
\d
+
|
-
)
"
(?P<referrer>
.
*
?
)
"
"
(?P<user_agent>
.
*
?
)
"
/
gm
Open regex in editor
Description
Read a line from the splunk tutorial www1 log
Submitted by
Russ Ferriday
-
2 years ago
(Last modified 2 years ago)