in reply to I think regex Should Help Here... but How!?

"...to retain the string up to that point..."

Perhaps something like this matches: /comp\.hw\.(.+)/. What you want should be in $1.

Update: May be i missed something about the specs. If so, i regret it. I posted this in a hurry, not good.

Regards, Karl

«The Crux of the Biscuit is the Apostrophe»