in reply to use split?
in thread Regex to Truncate URLs Nicely

I should said that I can't post code because I have to split.