I have a system that dynamically generates links. but the html links are displayed like this :
Yes, using the string split() function like this...
S='Page Example'; var A=split('"'); document.write(A[1]);
This should display "/page-example", and you can then add it as the href to an anchor.