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...
0
Match everything between brackets, including brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match everything between brackets, including brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
[Fixed] Parse all simple math expressions (decimal, negative, whole)
PCRE (PHP <7.3)
Includes +, -, /, *, and ^. Can parse decimals. Can parse negative whole numbers and decimals. Can parse parentheses. Used only for parsing math expressions using regex.
Submitted by
anonymous
-
9 years ago
1
TEST 1
PCRE (PHP <7.3)
no description available
Submitted by
DBU
-
9 years ago
1
TEST 2
PCRE (PHP <7.3)
no description available
Submitted by
DBU
-
9 years ago
1
Registry key path
Python
Get the Last entry for the registry key.
Submitted by
Rhino
-
9 years ago
1
URL that allows IP
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
(\d\d?) ([A-Z][a-z][a-z]) (\d{4});
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Days Hours Minutes Seconds
Python
no description available
Submitted by
Clay Burns
-
9 years ago
1
data-repeat
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Get the HTML table tag and all content from within
PCRE (PHP <7.3)
no description available
Submitted by
Pedro Marcelo de Sá Alves
-
9 years ago
1
SCSS abstract class
PCRE (PHP <7.3)
Return content of %abstract { ... } for file processing
Submitted by
digitaldonkey
-
9 years ago
1
extract facebook video id
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
s
ECMAScript (JavaScript)
s
Submitted by
s
-
9 years ago
0
Custom HTML placeholder matcher
PCRE (PHP <7.3)
Grab all placeholder "tags" that are alphanumeric with optional underscores. In this example my placeholders are double curly braces e.g. {{MY_VARIABLE_NAME}}. Change out the braces for whichever symbol/character you are using or add/remove more. E.g. [[MY_VARIABLE_NAME]] would be matched with \[\...
Submitted by
John Cogan
-
9 years ago
1
join
Python
no description available
Submitted by
anonymous
-
9 years ago
1
<Trigger R="(?<attacker>[\w\S]+)\ feel inspired by the Jester\."
PCRE (PHP <7.3)
idk
Submitted by
macx
-
9 years ago
1
Youtube id und parameter extraction
PCRE (PHP <7.3)
Nice and understandable Version of youtubelink fields extraction.
Submitted by
erotanimul (co-author ;)
-
9 years ago
1
find revenue
ECMAScript (JavaScript)
$12.34
Submitted by
anonymous
-
9 years ago
1
Season Title Match
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
148
149
150
151
152
...
901
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(
[
1
-
8kqbnrpKQBNRP
]
{1,8}
\/
){7}
[
1
-
8kqbnrpKQBNRP
]
{1,8}
[
\s
]
{1}
[
wb
]
{1}
[
\s
]
{1}
(
(
[
-
]
{1}
)
|
[
K?Q?k?q?
]
{1,4}
)
[
\s
]
{1}
(
[
-
]
{1}
|
(
[
a
-
h
]
{1}
[
1
-
8
]
{1}
)
)
[
\s
]
{1}
[
0
-
9
]
+
[
\s
]
{1}
[
0
-
9
]
+
/
g
Open regex in editor
Description
FEN is "Forsyth-Edwards Notation"
Submitted by
maxqua72
-
9 years ago