In word remove Japan word and consider English text only

Hi All

I have a text contains Japan Words also need to remove japan word and only consider English Word.

@Yoichi

Thank You!!

Hi,

Can you try the following expression?

System.Text.RegularExpressions.Regex.Replace(yourString,"[\p{IsHiragana}\p{IsKatakana}\p{IsCJKUnifiedIdeographs}\uFF61-\uFF9F]","")

Regards,

1 Like

Hi @vineelag

Please find the solution for your query below.

System.Text.RegularExpressions.Regex.Replace(str_inputstring,โ€œ[^a-zA-Z\s!@#$%^&*()_+{}:;<>,.?/\|`~-]โ€,โ€œโ€)

Happy Automation

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.