'; echo str_replace($match[2],' dsfsd ',$fixed); return 1; } function replace_tag($tag,$line) { print_r($tag); print_r($line); return 0; } // print_r (str_replace($patterns, $replacements, $contents)); // print_r (preg_replace('/\<\<\pL\pL\pN/','--REPLACED--',$contents)); //preg_replace_callback('/\<\<\pL\pL\X/',the_tags,$manipulate);./\pL\pL\p{Nd} $fixed = preg_replace('/\<\