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 6,100 community submitted regex patterns...
0
regex_honoraires_vf_2
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 years ago
0
regex_honoraires_vf_3
PCRE2 (PHP >=7.3)
guif
Submitted by
guif
-
2 years ago
0
String literals
ECMAScript (JavaScript)
Matches string literals and contained escape sequences.
Submitted by
anonymous
-
2 years ago
0
match one or more contiguous white space characters
ECMAScript (JavaScript)
match one or more contiguous white space characters in a string. can be used in JS, for example, to replace any white space characters (tab, space, newline), as well as multiple contiguous WS chars, with a single space character. var text = “1 2 \t \n 3”; text = text.replace(/\s+/g, ' '...
Submitted by
anonymous
-
2 years ago
0
Email Regex
PCRE2 (PHP >=7.3)
email regex
Submitted by
anonymous
-
2 years ago
0
missing semicolons between variable declarations
ECMAScript (JavaScript)
user for bcl this helps to find missing semicolons to trigger an error
Submitted by
Cazpfitl
-
2 years ago
0
Remove emojis and \r
ECMAScript (JavaScript)
remove emojis
Submitted by
gaurav
-
2 years ago
0
URL
ECMAScript (JavaScript)
URL detection
Submitted by
anonymous
-
2 years ago
0
单行注释
ECMAScript (JavaScript)
单行注释
Submitted by
anonymous
-
2 years ago
0
多行注释
ECMAScript (JavaScript)
多行注释
Submitted by
anonymous
-
2 years ago
0
Split number and string
PCRE2 (PHP >=7.3)
Split number and string exp. data as below 17091327 Ren Xian Xtrcb County Bank Corporation Limited 50156 0862315402 19D 17091342 BaoDing QingYuan District Xtrcb Rural Bank Corporation Limit40156 0862315401 19D
Submitted by
anonymous
-
2 years ago
0
rackerrank tweet
ECMAScript (JavaScript)
Rackerrank regex prepare
Submitted by
jcbelarmino
-
2 years ago
0
Regex to match the image mime types
PCRE2 (PHP >=7.3)
Matches the image mime types. E.g image/png, image/jpeg, etc.
Submitted by
anonymous
-
2 years ago
0
reverse commenting/code order
PCRE2 (PHP >=7.3)
reverses order when code is followed by comments (comments prepended with ## )
Submitted by
anonymous
-
2 years ago
0
hi
PCRE2 (PHP >=7.3)
hi
Submitted by
anonymous
-
2 years ago
0
09|10|11
PCRE2 (PHP >=7.3)
select 09|10
Submitted by
ekam230
-
2 years ago
0
C style comments
PCRE2 (PHP >=7.3)
Regular expression to match all C style comments.
Submitted by
Seymoar Regex
-
2 years ago
0
how to match for a word not to be in the input
PCRE2 (PHP >=7.3)
Not Funny vs Funny - need to match for both cases
Submitted by
anonymous
-
2 years ago
0
匹配md图片
PCRE2 (PHP >=7.3)
匹配md图片
Submitted by
anonymous
-
2 years ago
0
匹配图片链接
ECMAScript (JavaScript)
匹配图片链接
Submitted by
anonymous
-
2 years ago
1
...
232
233
234
235
236
...
305
Email Regex
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
/
Open regex in editor
Description
email regex
Submitted by
anonymous
-
2 years ago