This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我有以下正则表达式:[\S](?!\s)[\W][\S], 它将匹配像这样的模式z.A, 我想像这样拆分字符串: "The brown fox.Jumped over the..."=> ["The brown fox.","Jumped over the..."]-这就是我使用该正则表达式的原因,但我的问题是如何排除 [\S] (在我的示例中:“J”(-from jumped))但知道正则表达式是否有效?