Regex - match everything without whitespace

前端 未结 1 597
再見小時候
再見小時候 2021-01-17 10:05

I now using in Regex this expressions,

([\\x20-\\x7E]+) - match everything with space

([\\x21-\\x7E]+) - match everyth

相关标签:
1条回答
  • 2021-01-17 10:26

    To match everything but whitespace use:

    [^\s]+
    
    0 讨论(0)
提交回复
热议问题