while(preg_match("#
([^$]+)
#i", $qpost)){ // Strip HTML tags and add // $qpost = preg_replace_callback("#
([^$]+)
#i", create_function('$matches', 'return "// ".preg_replace("#\n(.*?)#", "\n// $1", $matches[0]);'), $qpost); $qpost = preg_replace("#
([^$]+)
#i", "$1", $qpost); }