rel="external nofollow" の場合にのみタグ a href から正規表現を抽出するのを手伝ってください
<a href="text.html" rel="external nofollow">text1:text2:text3/</a>
結果としてのみ必要
text1:text2:text3
それから試してみる
$regexp = '<a (?![^>]*?rel="external nofollow")[^>]*?href="(.*?)"';
エラーが発生します
Warning: preg_match() [function.preg-match]: Unknown modifier ']' in /