On Tue, Jan 29, 2002 at 11:19:09AM -0000, Terrential wrote: > 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?? Why a reg exp? The easiest way is: URI->new($url)->host If you need a regular expression, will the protocol always be http? Tony