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.
我正在 BBEdit 中清理“textfactory”中的文本
但是我遇到了一个问题。在下面的文本中有两个句点“。”
前任。阿富汗猎犬、猎狼犬、灰狗。sloughi,惠比特犬。Thomas M Hehir,爱尔兰
空格和大写字母之前的句点应该是冒号。所有其他句点应为逗号。
阿富汗猎犬、猎狼犬、灰狗**、** sloughi、whippet**:** Thomas M Hehir,爱尔兰
如何搜索任何大写字母?
您可以分两步执行此操作。
空格和大写字母之前的句点应该是冒号。
使用查找⌘+F。
Case sensitive
Grep
\.(\s+[A-Z])
:\1
所有其他句点应为逗号。
.
,