I got the following code (from this forum -- thanx!) to pull URL's out of a text string:
preg_match_all('/(http:\/\/|www.)[\s\'">]+/', $text, $matches);
$urls = $matches[0];
Now I can't quite get how to tweak it to skip over one particular URL (mine!).
Can someone please insert 'mysite.com' appropriately in the above expression to pull all URL's EXCEPT mysite.com.