Reputation: 11240
I have an url-encoded url (so with &
replaced to &
), but I want to replace all the occurences of &
back to &
using javascript. Currently I'm using myStr.replace("/&/g", "&")
, but that doesn't work (replaces nothing).
Thanks,
Lex
Upvotes: 1
Views: 741