<?php $str = preg_replace(\"#([n ])([a-z]+?)://([a-z0-9-.,?!%*_#:;~&$@/=+]+)#i\", \" <a href=\"2://3\" target=\"_blank\">2://3</a>\", $str); $str = preg_replace(\"#([n ])www.([a-z0-9-]+).([a-z0-9-.~]+)((?:/[a-z0-9-.,?!%*_#:;~&$@/=+]*)?)#i\", \" <a href=\"http://www.2.34\" target=\"_blank\">www.2.34</a>\", $str); $str = preg_replace(\"#([n ])([a-z0-9-_.]+?)@([w-]+.([w-.]+.)?[w]+)#i\", \"1<a href=\"javascript:mailto:mail('2','3');\">2_(at)_3</a>\", $str); ?>
oprócz niego mam kilka innych pregow m.in. [b],[u] itp ale takze [code] i inne
i chcialbym aby w tym znaczniku [code] ten ciag sie nie wykonywal jak to zrobic ?