If the URL address is something like this one [url]www.domain.com/t1/revs=xxx[/url]. How will i get the t1? t1 could be t2, t3, etc. t is a tour. In my content I got links which is href to [url]www.domain.com[/url]. I made a script that will look into the content and replace it with [url]www.domain.com/tx/revs=xxx[/url]. Can anybody help me?