Hi Casey! Many thanks for your help! I greatly appreciate it. :) >> preg_replace_callback($f, 'mah_processTags($arg1)', $text); > preg_replace_callback($f, 'mah_processTags(\'$0\', $arg1)', $text); > Does this work? Ah, interesting... Thanks for the example code... I am at work now, but will try that as soon as I get home later tonight. Your code examp looks very promising -- I will let you know how it goes. A billion thanks! Cheers, Micky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php