Given text, use XSLT and regex to find an ID and a URL then replace the URL with a given URL+the ID.
Given the RSS data below, for each item use only XSL to find the ID ("ID12345" or "ID00000" in this example) and replace the URL ("[url removed, login to view]" in this example) with the new URL "https://[url removed, login to view]" + the ID ("https://[url removed, login to view]" in this example)
sample source rss file to transform attached
Some regex you can use. This seems to work but I'm open to using different regex if you need.
for ID: "ID....."
for URL: "\bhref=.([^\x22\r\n]+\x22)"
regex added to attached file. Some slashes were stripped out of the original description.