Forum Discussion
Ed_Hammond_2611
May 22, 2011Nimbostratus
Use regsub or split/join to manipulate the string.
set newDomain [regsub -nocase -- {(com|net)\.*$} [HTTP::host] {org}]
HTTP::redirect "$newDomain[HTTP::uri]"
Or something to that effect ;-)