Regex in ASP extraction

cravistaz

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