I am able to get the querystring from url like this using regex and javascript: But I need to get rid of these %22…these don’t show up in IE, just in FF..How do I do that? Ineeed everything after k=..but without %22..
<script type="text/javascript">document.write('<div class="DynamicSearchTitle">
Showing All Results For ' +
location.href.match(/\&k\=(.+)/)[1]+ ' Matches </div>');
</script>
URL
The URL is broken so I can’t take a look at the whole code, but I think what you’re looking for is the decodeURI-function.
for example would return “
Unescapeing the url from your question:
returns
&k="Hospital" OR "Office"