preg_replace

How would I adjust this:

$find=‘/href="/’;

to ignore: href="http://

but not: href="

I tried this:

$find=‘/href="(^http)/’;

Thanks E

The following skips http:// and https:// urls.

$pattern = '#href="(?!https?://)([^"]+)"#si';
if (preg_match_all($pattern, $s, $m))
{
        $matches = $m[1];
        print_r($matches);
}