JAVASCRIPT
js how to remove # from any url using js
var url = document.URL.split('#')[0]
location = url
remove # from url javascript
const RELATIVE_PATH = window.location.pathname;
alert(RELATIVE_PATH)
remove url from string javascript
var b = url.replace(/(?:https?|ftp)://[
S]+/g, '');
javascript remove item from url
window.history.replaceState({}, document.title, "/" + "my-new-url.html");
javascript remove item from url
window.history.replaceState({}, document.title, "/" + "my-new-url.html");
javascript remove item from url
window.history.replaceState({}, document.title, "/" + "my-new-url.html");
js how to remove # from any url using js
var url = document.URL.split('#')[0]
location = url
javascript remove item from url
window.history.replaceState({}, document.title, "/" + "my-new-url.html");
javascript remove item from url
window.history.replaceState({}, document.title, "/" + "my-new-url.html");
javascript remove item from url
window.history.replaceState({}, document.title, "/" + "my-new-url.html");
javascript remove item from url
window.history.replaceState({}, document.title, "/" + "my-new-url.html");