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...
1
match arguments similar to shell, supports quoted string
ECMAScript (JavaScript)
first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.
Submitted by
anonymous
-
10 years ago
1
Css Splitter
PCRE (PHP <7.3)
Splits the css code into two blocks. (comments|selector block)
Submitted by
@Silent_Coder
-
10 years ago
1
Extract email client inserted reply line "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients insert the "sender wrote" line to email replies.
Submitted by
Vlad Burca
-
10 years ago
1
Simple Date regex
ECMAScript (JavaScript)
With format dd/MM/yyyy
Submitted by
Magador
-
10 years ago
1
bla
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
science on saturday 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
q3df visname tester
PCRE (PHP <7.3)
www.q3df.org profil visname regex tester
Submitted by
nightmare
-
10 years ago
1
Test
PCRE (PHP <7.3)
Tralala
Submitted by
Tralala
-
10 years ago
1
help?
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Cleveland, OH
ECMAScript (JavaScript)
CLeveland, OH ||| SanDiego, CA this regex will pick up on those
Submitted by
anonymous
-
10 years ago
1
CSS instructions
PCRE (PHP <7.3)
Find everything between {}
Submitted by
anonymous
-
10 years ago
1
fixer
PCRE (PHP <7.3)
no description available
Submitted by
t
-
10 years ago
1
PHPfrance soustraction d'une chaîne
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
vx
PCRE (PHP <7.3)
sv
Submitted by
cv
-
10 years ago
1
AutoDateRegex
PCRE (PHP <7.3)
Regex for date for example in saved reports (01m-1y) beginning of last month Format -> dmy
Submitted by
Mayer@netgo.org
-
10 years ago
1
cross platform file extension in node/io.js
ECMAScript (JavaScript)
This regex will match the file extension on any platform in node.js or io.js.
Submitted by
Russell Dempsey
-
10 years ago
1
Credit Card finder
PCRE (PHP <7.3)
Captures credit card looking sequence of digits Luhn validation remains required as a complement.
Submitted by
OP
-
10 years ago
1
How to document a regex? Example 1
PCRE (PHP <7.3)
How to document a regex? Example 1: undocumented Regex which works with my test string
Submitted by
Thomas
-
10 years ago
1
How to document a Regex? Example 2
PCRE (PHP <7.3)
How to document a Regex? Example 2: added documentation using (?#)
Submitted by
Thomas
-
10 years ago
1
daily 204
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
595
596
597
598
599
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(
\(
)
[
\t\n
]
*
|
[
\t\n
]
*
(
\)
)
/
gm
Open regex in editor
Description
Eliminate spaces in the inner part of parenthesis.
Submitted by
Luis Colorado
-
10 years ago