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...
-2
JSON KEY VALUE
PCRE (PHP <7.3)
Get key value in json string
Submitted by
Marcio Paiva Barbosa
-
9 years ago
-2
twitter usernames
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
filter
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
-2
Mathematical Expressions
PCRE (PHP <7.3)
ValidatesMathematical Expressions. Ignores whitespace. Includes parenthesis matching.
Submitted by
Jeremy Friesen
-
9 years ago
-2
HTML <script> regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-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 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
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
xml_kv_extraction
PCRE (PHP <7.3)
Basic XML key-value extraction
Submitted by
Keith Muggleton
-
9 years ago
1
...
368
369
370
371
372
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
^
[
\w
]
+
\s
*
)*
(
\d
*
-
\d
*
\s
*
[
A
-
Z0
-
9
]
+
\s
*
\(
[
a
-
z
]
\)
\s
*
(
[
A
-
Z
]
*
\s
*
\d
*
)
)
\s
*
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago