Java Regexp to Match ASCII Characters

前端 未结 5 1104
甜味超标
甜味超标 2020-12-05 08:19

What regex would match any ASCII character in java?

I\'ve already tried:

^[\\\\p{ASCII}]*$

but found that it didn\'t match lots of

5条回答
提交回复
热议问题