Hi,
$string = ereg_replace("<([^]>+)]","<a href="\1">\1</a>",$string);
*hmpf* *g*
$string = ereg_replace("[lnk:([^]]+)]","<a href="\1">\1</a>",$string);
lnk: durch link: ersetzen ;)
mfg
CK1
<img src="http://wwwtech.de/images/banner.jpg" alt="">
http://wwwtech.de/
http://wwwtech.de/moorhuhn/