// $result= ဖန္တ
$result=preg_replace(
"/([\p{L}\p{N}A-Za-z0-9@#\".]{1,}[\p{L}\p{N}A-Za-z0-9\.\_-]{0,})/u",
"foo[('$0')]bar",
$result);
print_r($result);
//RESULT: foo[('ဖန')]bar္foo[('တ')]bar
If You see here bar္foo
in between there is some junk character coming don't know why? how to removed it? But if I use hello world
its show expected result foo[('hello')]bar foo[('world')]bar