I am trying to highlight a part of string by using preg_replace but it is not working when string have diacrities
preg_replace
Here is my code:
$string