ios - How to replace both numbers and English in a string with *
PHP中文网2017-07-06 10:34:30
0
4
4180
I have a string that contains Chinese characters, English and numbers. I want to replace numbers and English with *. How do I do this? Usually it is a simple replacement. This requires regular expressions
Isn’t this okay?
Loop it over and judge the ASCII code directly. Use c syntax to compare and change characters one by one