Anyone know how to use Regex in notepad++ to find Arabic characters?

前端 未结 2 1007
终归单人心
终归单人心 2021-01-18 09:51

I am trying to detect Arabic characters in a webpage\'s HTML using Notepad++ CTRL+F with regular expressions. I am entering the following as my search terms and it is return

2条回答
  •  [愿得一人]
    2021-01-18 10:14

    This is happening because Notepadd++ regex engine is PCRE which doesn't support the syntax you have provided.

    To match a unicode codepoint you have to use \x{NNNN} so your regular expression becomes:

    [\x{0600}-\x{06FF}]
    

提交回复
热议问题