(2011-02-10, 12:12 AM)Aquilez Wrote: [ -> ]This should work:
$message = preg_replace("#\[img\](\r\n?|\n?)(https?://([^<>\"']+?))\[/img\]#ise", "\(Image: $2)\n", $message);
for me se put \(Image: $2)\n stop to work in mybb 1.6.5 and 1.6.6
help me fix this