Need some RegExp help

I got a personal message from ra7h35m20s, Yesterday, 10:28, and pull it up into common Web Sources Discussion.

Hmm ... this is not a correct URL ...
http://itunes.apple.com/us/album/From the End/id366507575
... should be written as ...
http://itunes.apple.com/us/album/From%20th...End/id366507575
... to be used in the address line of a browser.

To change the space character resp. its hexadecimal representation to hyphen character, use a function $replace or $regexp.

I do not understand what the 'script portion' has to do with the URL and what you want to achieve within your websource script.
Others?

DD.20111230.1549.CET

I think this replacement is not needed because the url with hyphens is available in the "collectionViewUrl" key.