Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Remove Domain From URL String in jQuery
Virajsinh
Oct 20th, 2021
(
edited
)
341
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
jQuery
0.08 KB
| None
|
0
0
raw
download
clone
embed
print
report
//Remove Domain From URL String in jQuery
url
=
url.
replace
(
/^.*\/\/[^\/]+/
,
''
)
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑G2A.com Free Gift Card FIX June 2024🤑
Python | 38 sec ago | 0.34 KB
stormzdxp
C# | 1 min ago | 0.00 KB
AO3 Blocker - español
JavaScript | 2 min ago | 16.78 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
Python | 6 min ago | 0.33 KB
Adivinhação
JavaScript | 7 min ago | 2.13 KB
🤑G2A.com Free Gift Card FIX June 2024🎁
Python | 12 min ago | 0.34 KB
🎁G2A.com Free Gift Card Guide June 2024 NEW🎁
GetText | 16 min ago | 0.36 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
Python | 18 min ago | 0.33 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!