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 3,560 community submitted regex patterns...
0
校验密码必须包含字母、数字和特殊字符
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
匹配图片title src
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Find a irregular character in file/directory names
ECMAScript (JavaScript)
Find first ocurrence of a irregular character in a file or dir name.
Submitted by
anonymous
-
8 years ago
0
Replace bad comments
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
SFMC Fields
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Linux Updates
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
URL Basic Auth Parser
ECMAScript (JavaScript)
Awesome basic auth parser! Doesn't work if there is a protocol string.
Submitted by
anonymous
-
7 years ago
0
isUrl updated regex
ECMAScript (JavaScript)
Latest isUrl regex
Submitted by
anonymous
-
7 years ago
0
isUrl() latest
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Regrex email 64@255.2
ECMAScript (JavaScript)
Regrex email before @ is = 2 characters Lenght all of email <= 320 character
Submitted by
anonymous
-
7 years ago
0
Regrex email 64@255.2
ECMAScript (JavaScript)
Regrex email before @ is = 2 characters Lenght all of email <= 320 character
Submitted by
anonymous
-
7 years ago
0
Intuit
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Chatbot Test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Chatbot Test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Check email
ECMAScript (JavaScript)
Các trường hợp error khi validate email. Trường hợp sử dụng các từ tiếp theo như : / ! “ # $ % & ‘ ( ) = ~ | \ ^ : ; * + ? , ` [ ] { } Trường hợp sử dụng các từ ngoài kí tự tiếng anh trước Trường hợp sử dụng [.(dot), _(underscore)] 2 lần liên tiếp trở lên....
Submitted by
dinh_sinh
-
7 years ago
0
Check email
ECMAScript (JavaScript)
Case error when use a email address not valid. When use next character is: / ! “ # $ % & ‘ ( ) = ~ | \ ^ : ; * + ? , ` [ ] { } Case use character out of Alphabet english. Use [.(dot) or __(underscore)] twice times....
Submitted by
dinh_sinh
-
7 years ago
0
Regex String starting with * wrapped in single or double quotes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Match everything between 2 strings - Including the strings and white space and new lines
ECMAScript (JavaScript)
Match everything between 2 strings - Including the strings and white space and new lines
Submitted by
anonymous
-
7 years ago
0
extract url from a text where URL is in the end of the string
ECMAScript (JavaScript)
extract url from a text where URL is in the end of the string
Submitted by
Kumar
-
7 years ago
0
Extract URL from a text / String
ECMAScript (JavaScript)
Extract an URL from a text / String. This one will extract multiple instances
Submitted by
Kumar Sundaram
-
7 years ago
1
...
5
6
7
8
9
...
178
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
^
(?>
(?'protocol'
[
a
-
zA
-
Z
]
+
)
://
)?
(?'domain'
[
a
-
zA
-
Z0
-
9.
\-
_
]
*
)?
(?>
:
(?'port'
\d
{1,5}
)
)?
/
(?'path'
[
a
-
zA
-
Z0
-
9_
\-
%
]
+
)
(?:
(?>
\?
(?'query'
[
a
-
zA
-
Z0
-
9_
\-
=&%
]
+
)
)
(
)
|
(?>
#
(?'anchor'
[
a
-
zA
-
Z0
-
9_
\-
%
]
+
)
)
(
)
){0,2}
$
"
gm
Open regex in editor
Description
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
a year ago
(Last modified a year ago)