Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
Info
Regex Editor
Community Library
Account
Regex Quiz
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP)
JavaScript
Python
Golang
Java
.NET 7.0 (C#)
Rust
POSIX ERE
POSIX BRE (grep/sed)
PCRE (Legacy)
Sponsors
digidib · when security, quality, and reliability matter
Community Library
Search community submissions...
0/512
Your search did not match anything
Community Library Entry
16
Regular Expression
Open Workspace
/
^
(
(
https
?
:
)(
\/\/\/
?
)(
[
\w
]
*
(?:
:
[
\w
]
*
)?
@
)?(
[
\d\w
\.
-
]
+
)(?:
:
(
\d
+
)
)?
)?(
[
\/\\
\w
\.
()-
]
*
)?(?:
(
[
?
][^
#
]
*
)?(
#
.
*
)?
)*
/
gmi
Description
Created
·
2015-06-21 19:49
Type
·
Match
Flavor
·
JavaScript
general purpose HTTP URL regex
Submitted by
Miguel Castillo @manchagnu
Open Workspace