How do i do this in one line.
preg_replace("[bold]","<b>",$body);
preg_replace("[/bold]","</b>",$body);
i want to end up with <b>all the text in between</b>
preg_replace("[bold]","<b>",$body);
preg_replace("[/bold]","</b>",$body);
i want to end up with <b>all the text in between</b>
Comment