阅读背景:

正则表达式,匹配字符串,每个单词之间只有一个空格,没有尾随或前导空格

来源:互联网 

How do I write a regular expression that matches strings with exactly one space between each word and no trailing or leading spaces? The string can - apart from letters - contain only [-.,'] characters and no consecutive spaces between words.How do I write a regular expression that matche




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: