unicode - Anyone know how to use Regex in notepad++ to find Arabic characters? -
i trying detect arabic characters in webpage's html using notepad++ ctrl+f regular expressions. entering following search terms , returning characters.
[\u0600-\u06ff]
sample block of random text i'm working -
awr4tgagas بqa4tq4twْq4tw4twtfwd awfasfrw34جَ4tw4tg دِيَّة عَرqaw4trawfَبِيَّ
any ideas why regular expression won't detect arabic characters , how should go this? have document encoded utf-8.
thanks!
this happening because notepadd++ regex engine pcre doesn't support syntax have provided.
to match unicode codepoint have use \x{nnnn}
regular expression becomes:
[\x{0600}-\x{06ff}]
Comments
Post a Comment