Java regex - expression with exactly one whitespace

后端 未结 6 1888
攒了一身酷
攒了一身酷 2021-01-14 12:08

I want to match all expressions with exactly one whitespace. Currently, I\'m using [^\\\\s]*\\\\s[^\\\\s]*. That doesn\'t seem like a very good way, though.

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