Hallo
Wieso machst du es nicht so?
$subject = "{DICK}Dick, {STRICH}unterstrichen{/STRICH}{/DICK} und so weiter ...";
$search = array('{DICK}', '{/DICK}', '{STRICH}', '{/STRICH}');
$replace = array('<b>', '</b>', '<u>', '</u>');
$result = str_replace($search, $replace, $subject);