Ok, I come from a PHP background, but I need to extract something from a URL using classic ASP.
$url = 'http://domain.com/page1/link.asp';
The ASP code will strip out http:// or http:// www and just extract
domain.com (page1) (link.asp)
In PHP, you can use the preg_match function, but how would a ASP version work?
The following should work (untested):