Greetings. I have some text that outputs to a page without a variable, example: echo "text";
the echo has text that I would like to preg_replace. since there is no variable, is it possible to make a $dummy variable so either way it replaces the text that i would like inside the echo? this is the function that I'd like to use: preg_replace("/\[url=(.*?)\](.*?)\[\/url\]/si", "<a href=\\1 target=_blank>\\2</a>"); How do I do this? warm regards, Sebastian - [BBR] Gaming Clan http://www.broadbandreports.com