Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(https{0,1}:\/\/)
/
gm
Input 1
1
New
https://regex101.com https://stackoverflow.com/questions/57601242/why-is-this-regex-expression-not-matching-the-string-exactly http://www.regular-expressions.info/optional.html https://www.youtube.com/watch?v=iA9DlBSMQ4c
Extraction
https://regex101.com https://stackoverflow.com/questions/57601242/why-is-this-regex-expression-not-matching-the-string-exactly http://www.regular-expressions.info/optional.html https://www.youtube.com/watch?v=iA9DlBSMQ4c