Android Studio Tips for Finding Chinese Strings

  1. First, go to the website that provides Chinese to Unicode, and enter the Chinese you need to searchInsert picture description here

  2. Then press ctrl+shift+f in Android Studio or right-click Find in Path on the project name in the upper left corner
    Insert picture description here

  3. Enter ^((?!(\*|//)).)+[\u4eca]+[\u5929]+[\u5929]+[\u6c14]+[\u771f]+[\u597d], there are several Enter a few "+[\u****]" in Chinese, pay attention to open Regex regular expression search
    Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_48968045/article/details/111416569