Hi every one,
I have been trying to perform rather simple perg_replace with no success, so maybe it is not as simple as I think or I am not smart as I believe :-)
the regex:
$regex = "/((http:\/\/¦www\.¦http:\/\/www\.)(?!mysite)[-&,%~;=.\/\d\w\?]+)/i";
it is intended to match any link that is NOT my site but with no success.
so doesn't this regex:
$regex = "/((http:\/\/¦www\.¦http:\/\/www\.)[^m][^y][^s][^i][^t][^e][-&,%~;=.\/\d\w\?]+)/i";
help will be appreciated!