convert regular expression from php to asp classic [closed]

illefealady

New Member
\[code\] function cleanURL($string){ $url = str_replace("'", '', $string); $url = str_replace('%20', ' ', $url); $url = preg_replace('~[^\\pL0-9_]+~u', '-', $url); $url = trim($url, "-"); $url = strtolower($url); $url = preg_replace('~[^-a-z0-9_]+~', '', $url); return $url;}$regex=cleanURL("$title");\[/code\]how to convert that code into asp classic?thank you.
 
Back
Top