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 11,980 community submitted regex patterns...
2
Email Domain Regex
PCRE (PHP <7.3)
A pattern to match the email domain suffix
Submitted by
doug
-
9 years ago
2
find numbers with 2 commas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
IP with Subnet
PCRE (PHP <7.3)
IP address with Subnet
Submitted by
Matt Masse
-
9 years ago
2
notepad++
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Date search
PCRE (PHP <7.3)
Search for three different types of dates in spanish format
Submitted by
Agustín Bouillet
-
9 years ago
2
Search src from <img> tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
HTML comments
PCRE (PHP <7.3)
Groups HTML comments that are between .
Submitted by
Greaka
-
8 years ago
2
Case-sensitive keyword matching.
PCRE (PHP <7.3)
Case-sensitive matching of a keyword, where the keyword is not a substring of other words.
Submitted by
Norskov
-
8 years ago
2
BRAZILIAN VEHICLE PLATE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
desanonimyse
PCRE (PHP <7.3)
no description available
Submitted by
JB Escudié
-
8 years ago
2
Alphanumeric only
PCRE (PHP <7.3)
Allows only Uppercase, lowercase letters and numbers
Submitted by
anonymous
-
8 years ago
2
Azure ARM Template Parameter Override breakdown
PCRE (PHP <7.3)
This script helps you take the ARM template parameter override line from VSTS and break each variable combo down to its own line.
Submitted by
Paul Daly
-
8 years ago
2
Azure ARM Parameter Override Reconstuct
PCRE (PHP <7.3)
This helps you take a list of ARM parameters where each pair is on its own line and combine them back to a single line so you can place them in VSTS's ARM template parameter override field.
Submitted by
Paul Daly
-
8 years ago
2
parse username with @ mention
PCRE (PHP <7.3)
no description available
Submitted by
Laracasts
-
8 years ago
2
Brazilian number phone
PCRE (PHP <7.3)
no description available
Submitted by
Marcos André
-
8 years ago
2
Regex tutorial
Java 8
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)
2
Task 4 Quiz
PCRE2 (PHP >=7.3)
It needs a major modification, since matching an integer is required. The accepted answer \d+ involves only "positive" integers. But -333 or +777 are also integers, which leads to two possible solutions with the last one being the most accurate: -?\d+ : The hyphen (optional minus sign) and a digit ...
Submitted by
seQuienSoy
-
2 years ago
2
Mime type parser
.NET 7.0 (C#)
A "simple" regex to parse mime types. Handles all commonly occurring parts of a mime type string such as: Type Subtype Subtype's with an extra extension (e.g. svg+xml) (Optional input) Multiple parameters (Optional input)...
Submitted by
Vespion
-
a year ago
(Last modified a year ago)
2
Discord Username (old & new)
PCRE2 (PHP >=7.3)
Accomodate for Discord's username changeover and match against either the old username or the new username. But only one or the other. Match: CesarHvl#9000 cesarhvl cesar.hvl...
Submitted by
cesarhvl
-
a year ago
2
Basic Phone Number Verification
PCRE (PHP <7.3)
Verifies a phone number
Submitted by
anonymous
-
11 years ago
1
...
25
26
27
28
29
...
599
Panel Mark
1
Regular Expression
PCRE (PHP <7.3)
/
(
^\d
*
\+
\d
*
|
^\d
*
)
\s
*
(
[
A
-
Z
]
*
\s
*
[
A
-
Z
]
*
\s
*
)
(
\d
*
)
(
[
A
-
Z
]
{0,2}
)
\-
*
\+
*
(
\d
*
)
(
[
A
-
Z
]
{0,2}
)
/
gm
Open regex in editor
Description
no description available
Submitted by
Hoss
-
8 years ago