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 12,640 community submitted regex patterns...
0
VSCode DecorationRenderOptions docs formatting
PCRE (PHP <7.3)
k
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => BM.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
class(x) => (class)x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => tDraw.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
block end => } // block end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Local x => int x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Local class[] x => class[] x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
map( => tMath.Map(
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
nil literal
PCRE (PHP <7.3)
nil literal for IPPcode20
Submitted by
anonymous
-
5 years ago
0
int literal
PCRE (PHP <7.3)
int literal for IPPcode20
Submitted by
anonymous
-
5 years ago
0
bool literal
PCRE (PHP <7.3)
bool literal for IPPcode20
Submitted by
anonymous
-
5 years ago
0
string literal
PCRE (PHP <7.3)
string literal for IPPcode20
Submitted by
anonymous
-
5 years ago
0
Email Address
PCRE (PHP <7.3)
Handles email address domains with hyphens and multiple levels. Credit: 0x90 and Hieu https://stackoverflow.com/questions/17681670/extract-email-sub-strings-from-large-document
Submitted by
anonymous
-
5 years ago
0
version-rn
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Match zip code before a slash
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Get schema, host, port, path from URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
281
282
283
284
285
...
632
Community Library Entry
31
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
\w
-
]
+
(?:
\.
[
\w
-
]
+
)*
)
@
(
(?:
[
\w
-
]
+
\.
)*
\w
[
\w
-
]
{0,66}
)
\.
(
[
a
-
z
]
{2,6}
(?:
\.
[
a
-
z
]
{2}
)?
)
$
/
i
Open regex in editor
Description
Email address, most used cases
Submitted by
Jago
-
9 years ago