0

I have an array of strings in Korean similar to 사람 [saram] where they all consist of the Hangeul(Korean alphabet) and then the English pronunciation in brackets.

The preg_replace I have is:

preg_replace("/\[.*\]/u","","사람 [saram]");

But the output is always:

사람

or some similar gibberish.

I'm 90% sure it's the Korean characters because when I try:

preg_replace("/\[.*\]/u","","Person [saram]");

Only Person is outputted. Any help would be greatly appreciated!

samuraiseoul
  • 2,888
  • 9
  • 45
  • 65

0 Answers0