I have URLs like this:
http://some.bunch.of.subdomains.hostname.tld/somepath/deeper/GUID/foo/bar/candy
GUID is the ID I need to find and replace.
The GUID is stripped, no dashes, exactly 32 characters, lowercase a-f, 0-9. Like this:
961b7d0e50f0462a8828c31bf0874a71
After I find it, I will replace it like this:
document.URL.replace(/regexp goes here/, 'newGUID');