我试图替换除String中前3个单词之外的所有单词(使用textpad).
防爆值: This is the string for testing.
This is the string for testing.
我想只提取3个单词:This is the从上面的字符串中删除所有其他单词.
This is the
我想出正则表达式匹配3个单词(\w+\s+){3}但我需要匹配除前3个单词之外的所有其他单词并删除其他单词.有人可以帮我吗?
(\w+\s+){3}
regex
regex ×1