[ad_1]
You can use replace :
var url2 = url.replace(/&c=[^&]+/,'')
2
[ad_2]
solved Regex to remove a hash-parameter from the urls hash
[ad_1]
You can use replace :
var url2 = url.replace(/&c=[^&]+/,'')
2
[ad_2]
solved Regex to remove a hash-parameter from the urls hash