Andrio Studio upgraded to 4.1, ready to find the Chinese replacement, opened it and looked confused, finally found in the corner, record, for those who are still looking for a shortcut.

Regular expression search English: ^((? ! | / / (*)). +[\u4e00-\u9fa5]

If you use this regular partner, you’ll probably be busy.

supplement

Android Studio quickly extracts Chinese characters into the res > values > strings.xml file

1. Select Chinese characters in quotation marks and do not include quotation marks:

2. Shortcut keys:Alt + EnterchooseExtract string resourceThe inputstringThe name of the:

3. Click OK to automatically replace:

I’ll leave it there, I don’t have time to explain, I’m going to go extract the code.