php regular expression for unicode

LuanM

New Member
I have some text where unicode is written as text like this\[code\]There areu25ba 2 boys.\[/code\]it should be like this\[code\]There are&#x25ba 2 boys.\[/code\]Replace 'u' with '&#x' if there is unicode character.Thanks in advance
 
Back
Top