$4', $s); echo $s2 . "\r\n"; } test('[a target="_blank" href="http://google.dk"]Google link[/a]'); test('[a target="_blank" href="http://facebook.dk"]facebook link[/a]'); ?>