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
Email Address
ECMAScript (JavaScript)
vishal1@vishal.com
Submitted by
anonymous
-
9 years ago
1
Password
ECMAScript (JavaScript)
aA1@
Submitted by
anonymous
-
9 years ago
0
matching regex and logical pattern from a string
PCRE (PHP <7.3)
no description available
Submitted by
haris
-
9 years ago
0
"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$"
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
(Last modified 9 years ago)
1
RA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Java standard date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
telefone number validator
ECMAScript (JavaScript)
this regex match numbers, whitespaces and the plus caracter.
Submitted by
Daviz
-
9 years ago
1
Last quoted string in text likely to be a filename
PCRE (PHP <7.3)
When a string contains two or more possible filenames in quotes grab the last one and return it as and
Submitted by
warlord
-
9 years ago
1
iOS Device matcher and parser
PCRE (PHP <7.3)
Matches iOS device names. Groups and example matches: 0: Full device name ("iPhone 6s Plus") 1: Device name+class ("iPad Air") 2: Device name ("iPad") 3: Device class with preceding whitespace (" Mini")...
Submitted by
Ben Leggiero
-
9 years ago
1
Varnish CLI ping
PCRE (PHP <7.3)
Allow filter Varnish ping for health status in Rsyslog
Submitted by
Axel
-
9 years ago
1
GetCsrf
PCRE (PHP <7.3)
no description available
Submitted by
Raj
-
9 years ago
1
Fill out 2comma
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Angular1 ngOptions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Proxy
PCRE (PHP <7.3)
standard proxy format
Submitted by
anonymous
-
9 years ago
1
Find @mentions
ECMAScript (JavaScript)
Useful for pulling user mentions out of markdown.
Submitted by
anonymous
-
9 years ago
1
Capture Inline LaTeX
PCRE (PHP <7.3)
no description available
Submitted by
ProfFan
-
9 years ago
1
separate two odd numbers with a dash
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
thy_reservation_reno
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
mail validator
PCRE (PHP <7.3)
no description available
Submitted by
@vovyan_
-
9 years ago
1
...
183
184
185
186
187
...
901
Community Library Entry
0
Regular Expression
Python
r"
\[
(
\[
?
)
(?P<shortcodename>
\w\S
+
)
(?!
[
/w-
]
)
(
[^
\]\/
]
*
(?:
\/
(?!
\]
)
[^
\]\/
]
*
)*
?
)
(?:
(
\/
)
\]
|
\]
(?:
(
[^
\[
]
*
(?:
\[
(?!
\/
\2
\]
)
[^
\[
]
*
)*
)
\[\/
\2
\]
)?
)
(
\[
?
)
"
g
Open regex in editor
Description
Made up from wordpress shortcake php
Submitted by
Nick Moreton
-
3 years ago