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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 13,040 community submitted regex patterns...
1
Capture nested strings using recursion
PCRE (PHP <7.3)
Brackets, Parentheses, Braces, delimited
Submitted by
anonymous
-
9 years ago
1
Valid Email
ECMAScript (JavaScript)
This is the javascript equivalent that .NET uses in their server-side validators.
Submitted by
anonymous
-
9 years ago
1
BETWEEN clause
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Angler Exploit Kit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
ok
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Chrizzzs Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Black Hole Exploit Kit
PCRE (PHP <7.3)
HTTP method = “GET” Requested file type ENDS WITH ".php" Requested file type = “x-msdownload” Request MATCHES Regular Expression
Submitted by
anonymous
-
9 years ago
1
Delte first symbols in line
PCRE (PHP <7.3)
no description available
Submitted by
Ilya Korzh
-
9 years ago
1
magento digits-range validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Trim Whitespace before/after String
ECMAScript (JavaScript)
Remove whitespace before and after the string. Use g for trimming before and after Use m for trimming each line of a multiline string individually. Code: ' test '.replace( /(^\s+|\s+$)/gm, '' );
Submitted by
KevinV
-
9 years ago
1
currency-50-100000
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
extraction
PCRE (PHP <7.3)
jamie sucks
Submitted by
me
-
9 years ago
1
MyRegexOnVeb
PCRE (PHP <7.3)
Выражения на вебы
Submitted by
Legend072
-
9 years ago
1
RFC2616 HTTP Header Date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
android strings tester
PCRE (PHP <7.3)
replace .* with a test string
Submitted by
l3d00m
-
9 years ago
1
Find C# Namespace
ECMAScript (JavaScript)
Simple regex to find the Namespace line in a C# class.
Submitted by
Erik Bartlow
-
9 years ago
1
Git merge replacements
PCRE (PHP <7.3)
Group 1 gives ours, group 2 gives theirs
Submitted by
Erik
-
9 years ago
1
H
PCRE (PHP <7.3)
I
Submitted by
anonymous
-
9 years ago
1
Update something
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
466
467
468
469
470
...
652
Partial Substitutions
0
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
a
-
z
]
[
a
-
z
]
;
)
(
.
*
)
(
\/
.
*
\.
.
*
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago