Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
http = url
Open Workspace
PCRE (Legacy)
Match
Created 2018-09-06 13:09
0
Regular Expression
/
^
(
http:
\/\/
www
\.
|
https:
\/\/
www
\.
|
http:
\/\/
|
https:
\/\/
)?
[
a
-
z0
-
9
]
+
(
[
\-\.
]
{1}
[
a
-
z0
-
9
]
+
)*
\.
[
a
-
z
]
{2,5}
(
:
[
0
-
9
]
{1,5}
)?(
\/
.
*
)?
$
/
gm
Description
No description provided.
Submitted by
Anonymous