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...
6
Find consecutive duplicate words
Python
no description available
Submitted by
anonymous
-
9 years ago
6
Spanish DNI/NIE check fist pass
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Casanova Morera
-
9 years ago
6
Email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
8
repeat group match
Python
no description available
Submitted by
anonymous
-
9 years ago
40
URL regexp
PCRE (PHP <7.3)
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago
35
http://
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
23
userName
PCRE (PHP <7.3)
1-15 alphanumeric login name
Submitted by
gsanchezc
-
9 years ago
7
rsyslog test
PCRE (PHP <7.3)
global modifier
Submitted by
dtmland
-
10 years ago
7
Any positive integer except zero
PCRE (PHP <7.3)
no description available
Submitted by
Harsh
-
9 years ago
7
Date and time format - ISO 8601
ECMAScript (JavaScript)
Matches ISO 8601 date formats
Submitted by
Ettienne
-
9 years ago
31
Email address (most used)
ECMAScript (JavaScript)
Email address, most used cases
Submitted by
Jago
-
9 years ago
10
Strip Email ID from Name
PCRE (PHP <7.3)
Use this regex to select all characters up to the "" bracket. It works across multiple lines. You can get an email list with only the IDs. This is the pattern it matches: Alpha Person Step 1 (.*) [$ Step 2 [$.$] (.*) gives you aperson@whatever.org...
Submitted by
Jonathan Davidar
-
10 years ago
9
Removing an XML Nodes namespace prefix from a XML string wit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
26
match valid JSON
PCRE (PHP <7.3)
Matches any valid JSON object, matches recursively. Passes all JSON test cases I found.
Submitted by
Mateon1
-
10 years ago
12
Remove Special Ascii Characters from unicode String
PCRE (PHP <7.3)
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
-
10 years ago
12
Username with "_" "-"
ECMAScript (JavaScript)
no description available
Submitted by
Gianvy
-
9 years ago
4
For Auto RTFs
PCRE (PHP <7.3)
no description available
Submitted by
Dan Bloomquist
-
12 years ago
4
outer Parentheses
PCRE (PHP <7.3)
Finds the outermost pair of parentheses. Compatible with any amount of nesting
Submitted by
Jonas Gerneth
-
11 years ago
4
Command handling
PCRE (PHP <7.3)
Handles commands like in CMD
Submitted by
anonymous
-
10 years ago
4
parsing a numeric strings with backslash using regexp
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
1
...
892
893
894
895
896
...
900
Community Library Entry
7
Regular Expression
Python
r"
^
(?:
::f
{4,6}
:
)?
(?P<host>
\S
+
)
.
*
\"
(
GET
|
POST
)
[^
\"
]
+
\"
403
"
mg
Open regex in editor
Description
http://stackoverflow.com/q/25778420/2072035
Submitted by
anonymous
-
10 years ago
(Last modified a year ago)