<?
$text=$tmp3[1];
$text_apstrade=preg_replace("(((http://www[^ ]+))|(((www[^ ]+)))|((http[^ ]+)))", "<a target=\"_blank\" style=\"text-decoration: none\" href=\"$0\" ><b>°links </b></a>", $text);
$text_apstrade = str_replace("http://www","www", $text_apstrade);
$text_apstrade = str_replace("www","http://www", $text_apstrade);
print($text_apstrade);
?>
vai shads pieraksts ir korekts?