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.
我只是无法掌握正则表达式的窍门,试图找到 " ,但不是两边都有 , 的
我 ","can haz"," 小猫。“嗯”。美味,美味的小猫。
提前致谢
这:
(?<!,)"(?!,)
或者,允许空格:
(?<!,\s*)"(?!\s*,)