I’m looking for a snippet to match ?= in the URL and replace it with a #.
e.g:
would become:
EDIT:- Thanks for the help, was looking to replace ?= with # and used:-
var getURL = window.location.href
var changeURL = getURL.replace("?=", "#");
window.location.replace(changeURL);
Why do you need to use jQuery?