Page is a not externally linkable
sugarkane - 5:23 pm on Feb 27, 2002 (gmt 0)
[perl] As I say, that's untested but might fire off a few ideas for you...
This is a bit of a kludge (and untested) but you could find all URLs with a regular expression, use strtolower() and then reinsert the original URLs with another couple of regular expressions, eg:
preg_match_all(" http.*? ", $string, $upper_case_matches);
$newstring=strtolower($string);
preg_match_all(" http.*? ", $string, $lower_case_matches);
preg_replace($lower_case_matches, $upper_case_matches, $newstring);
[/perl]