Hello, I've got another problem. say i have a url: http://www.terrential.com/ecards/ecard.pl is there anyway that i can get the www.terrential.com bit on its own thru some sort of reg exp?? Terry. --- Terry at tek2.com http://new.media.by.tek2.com --- This email has been checked for Virii. The views expressed are not necessarily those of TEK2.