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 18,040 community submitted regex patterns...
0
test altDays
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
test altDays
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
alt days regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Strip html tags
Python
no description available
Submitted by
anonymous
-
7 years ago
0
Vertices array to graph data for graph algorithms
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
HP REGEX
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Find Program Java
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
IDE: Identifying comments
PCRE (PHP <7.3)
Building a Smart IDE: Identifying comments
Submitted by
anonymous
-
7 years ago
0
text after last slash in url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Add TAB after first Comma
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
trailing exclamations
PCRE (PHP <7.3)
Capture word and trailing single ! but capture only word when trailed by !!
Submitted by
anonymous
-
7 years ago
0
Word search without tags affect
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Badly implemented e-mail validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Bad implemented e-mail validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Detect the Domain Name
PCRE (PHP <7.3)
Detect the Domain Name
Submitted by
anonymous
-
7 years ago
0
cs inputs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
固定电话验证
PCRE (PHP <7.3)
固定电话正则验证,不验证区号(区号不加区号都可以)
Submitted by
rhy
-
7 years ago
0
Angular commit
Golang
no description available
Submitted by
anonymous
-
7 years ago
0
relative dates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
573
574
575
576
577
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
(?<protocol>
[^
:/
]
+
:
)
)?
(?:
:
?
\/\/
)?
(?:
(?<user>
[^
/:
]
*
)
(?:
:
(?<passwd>
[^
@
]
*
)
)?
@
)?
(?:
(?<host>
[
\w
._-
]
*
)
)?
(?:
:
(?<port>
\d
*
)
)?
(?:
(?<path>
\/
?
[^
?
]
*
)
)?
(?:
(?<search>
\?
[^
#
]
*
)
)?
(?:
(?<hash>
#
.
*
)
)?
$
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago