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
Community Patterns
Search among 4,660 community submitted regex patterns...
0
Detect French way
Python
Test if a string contains a french way word
Submitted by
anonymous
-
3 years ago
0
Regular expression for nested Curly brackets
PCRE2 (PHP >=7.3)
Regular expression for nested Curly brackets
Submitted by
Romuald
-
3 years ago
0
Format Australian Bank BSB number
PCRE2 (PHP >=7.3)
Format Australian Bank BSB number
Submitted by
anonymous
-
3 years ago
0
IPv4 mask
PCRE2 (PHP >=7.3)
Matches any IPv4 mask.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
0
IPv4 address
PCRE2 (PHP >=7.3)
Matches any IPv4 address.
Submitted by
Piwi
-
3 years ago
(Last modified 3 years ago)
0
Indian Phone Numbers
PCRE2 (PHP >=7.3)
Regex to identify 10 digit phone numbers in India.
Submitted by
anonymous
-
3 years ago
0
Brazil's Documents
PCRE2 (PHP >=7.3)
Documents of the Brazil
Submitted by
anonymous
-
3 years ago
0
location
PCRE2 (PHP >=7.3)
locaiton regex
Submitted by
chenxi
-
3 years ago
0
Regex head tags contents
PCRE2 (PHP >=7.3)
Regex head tags contents
Submitted by
anonymous
-
3 years ago
0
regex_has_commercial_local
Python
regex
Submitted by
guif
-
3 years ago
0
regex_has_office_local
Python
regex
Submitted by
guif
-
3 years ago
0
EMDG LONG_TEXT
PCRE2 (PHP >=7.3)
1 - 256 tegn er tilladt
Submitted by
anonymous
-
3 years ago
0
02.07.b)
PCRE2 (PHP >=7.3)
02.07. FMUSI
Submitted by
anonymous
-
3 years ago
1
Subreddit finder r/regex
Python
Finds the names of subreddits in a text. Group 1 is the subreddit name.
Submitted by
CoderGreensparrow
-
3 years ago
2
Mobile Number Regex
PCRE2 (PHP >=7.3)
The following regex validates international mobile numbers
Submitted by
anonymous
-
3 years ago
1
Search for a date (Y/m/d or d/m/Y)
PCRE2 (PHP >=7.3)
Search for a date in a text.
Submitted by
globdug
-
3 years ago
1
Mine
PCRE2 (PHP >=7.3)
smth
Submitted by
anonymous
-
3 years ago
1
Minify JSON while protecting string value whitespace
PCRE2 (PHP >=7.3)
I use it so that I don't need to worry about formatting when working with unit tests in Kotlin, which means I don't worry too much about whether this is production quality, but it could be useful in other situations where the desire is to strip whitespace from a JSON object while protecting the valu...
Submitted by
anonymous
-
3 years ago
3
example
PCRE2 (PHP >=7.3)
example
Submitted by
anonymous
-
3 years ago
1
Asset Market
PCRE2 (PHP >=7.3)
Asset market/exchange tests
Submitted by
anonymous
-
3 years ago
1
...
122
123
124
125
126
...
233
Email validation
1
Regular Expression
Python
r"
^
(
[
a
-
z
]
|
[
0
-
9
]
|
\-
|
\_
|
\+
|
\.
)+
\@
(
[
a
-
z
]
|
[
0
-
9
]
){2,}
\.
[
a
-
z
]
{2,}
(
\.
[
a
-
z
]
{2,}
)?
$
"
gm
Open regex in editor
Description
Email string validation, manage wildcard and subdomains
Submitted by
anonymous
-
4 years ago