我正在尝试编写一个匹配所有不包含特定模板的字符串的正则表达式模板。
例如:
火柴:
This is my friend. He is very nice.
在
This is my friend. He is very nice.
但不匹配任何内容:
This is my friend John Michaels Fredrickson. He is very nice.
因为它包含这样的内容:([AZ][az]+\s?){3}
我正在尝试编写一个匹配所有不包含特定模板的字符串的正则表达式模板。
例如:
火柴:
This is my friend. He is very nice.
在
This is my friend. He is very nice.
但不匹配任何内容:
This is my friend John Michaels Fredrickson. He is very nice.
因为它包含这样的内容:([AZ][az]+\s?){3}