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 ... the End/id366507575
... should be written as ...
... 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.


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