Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我=@.*?@用来在字符串中查找占位符,例如:=@something@. 现在我想禁止=2 之间的任何内容@。所以找不到这个字符串:=@some=@any@@。
=@.*?@
=@something@
=
@
=@some=@any@@
您可以使用此正则表达式:
=@[^=@]*@