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 8,080 community submitted regex patterns...
15
Hashtag
ECMAScript (JavaScript)
The secret of the Twitterverse.
Submitted by
Joogl
-
10 years ago
17
Email (RFC2822)
Recommended
ECMAScript (JavaScript)
Email address compliant with RFC2822
Submitted by
Jago
-
9 years ago
12
Username with "_" "-"
ECMAScript (JavaScript)
no description available
Submitted by
Gianvy
-
9 years ago
7
Match text (not within html tag)
ECMAScript (JavaScript)
no description available
Submitted by
Moistly
-
9 years ago
7
if, else if, else condtion match
ECMAScript (JavaScript)
matches full if condition statment eg: if(condition){ ... } else if(condition){ ... }else{...
Submitted by
Ivan Jakesevic
-
10 years ago
14
us postal/zip
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
10 years ago
7
CSS Import
Python
no description available
Submitted by
anonymous
-
10 years ago
9
domain - host
Python
no description available
Submitted by
anonymous
-
9 years ago
11
html color match: transparent, #fff, #123456, rgb, rgba, hsl, hsla
ECMAScript (JavaScript)
This may be useful or not to test whether a given string is a valid (more or less) html color value. It matches color values such as: #123 - short hex color value #123456 - hex color value rgb(255,255,0) - rgb color value rgba(255,255,0,1.0) - rgba color value hsl(360,100%,100%) - hsl color value...
Submitted by
grouch
-
9 years ago
7
simple common lisp tokenizer
ECMAScript (JavaScript)
main symbols and comments are supported
Submitted by
d4rw1n1s7@gmail.com
-
9 years ago
13
Credit Card Expiry Date
ECMAScript (JavaScript)
Allows inserting expiry date as MM/YYYY or MM-YYYY format
Submitted by
Rider
-
9 years ago
0
Name
ECMAScript (JavaScript)
Simple name matching Matches english names only, you may add international characters to list of characters.
Submitted by
Ehsan
-
9 years ago
13
US Currency Format
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
16
Get path from any text
Recommended
PCRE2 (PHP >=7.3)
Get path (windows style) from any type of text (error message, e-mail corps ...), quoted or not. THIS IS THE SINGLE LINE VERSION !_ If you want understand how it work or edit it, go https://regex101.com/r/7o2fyy Relative path are not supported...
Submitted by
nitrateag
-
a year ago
(Last modified 9 months ago)
2
Replace \n by <br />
ECMAScript (JavaScript)
Replace non-ending string \n by the HTML tag
Submitted by
anonymous
-
10 years ago
7
split URL into location-resource-params (JavaScript)
ECMAScript (JavaScript)
Extract resource location, name and query parameters from a URL (JavaScript version)
Submitted by
cebence
-
10 years ago
11
find all link(<a>) tags expect your links in href attribute
ECMAScript (JavaScript)
YourLink - not found AnotherLink - found
Submitted by
KoT
-
9 years ago
12
Full url parse, domain, path, params
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
10
Valid Telephone Number
ECMAScript (JavaScript)
This regex validates varying types of telephone numbers.
Submitted by
Adam Recvlohe
-
8 years ago
14
Email regex validation
ECMAScript (JavaScript)
RegEx email /^((?!\.)[\w-_.]*)(@\w+)(\.\w+(\.\w+)?)$/gim; Just playing with Reg Ex. This to validate emails in following ways ...
Submitted by
https://www.linkedin.com/in/peralta-steve-atileon/
-
5 years ago
(Last modified 9 months ago)
1
2
3
4
...
404
Validate email
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
Regex for email validation
Submitted by
anonymous
-
2 years ago