Ruphaa's Notes
← Go Back
How to use regex to check for domain in URL?
js
regex
/
(
?
:
http
(
?
:
s
)
?
:
\
/
\
/
)
?
(
?
:
w
{
3
}
\
.
)
?
(
[
^
\
.
]
+
)
/
I
;