Decoding hex string in javascript
<p>I have a string in JS in this format:</p>

<p>http\x3a\x2f\x2fwww.url.com</p>

<p>How can I get the decoded string out of this? I tried unescape(), string.decode but it doesn't decode this. If I display that encoded string in the browser it looks fine (http://www.url.com), but I want to manipulate this string before displaying it.</p>

<p>Thanks.</p>
