你可以在查找(或在 RegEx Pal 中)使用正则表达式将 . 更改为 :
在查找中,你必须以 regex: 开头:
这是一个可能的搜索示例:
regex:(?<=\\fr \d+)\.(?=\d)
这表示执行正则表达式搜索,查找前面是 \fr 和一个或多个数字,后面是一个数字的句点。
替换字符串只需是冒号。
如果你想查找前面是数字且后面也是数字的任何句点,可以移除 \\fr
You can use a regular expression in the find (or in RegEx Pal) to make the change from . to :
In the find you must start with regex:
Here is one possible search:
regex:(?<=\\fr \d+)\.(?=\d)
This says, do a regular expression search for a period preceded by \fr and one or more digits, and followed by a digit.
The replace string would be just the colon.
If you wanted to find any period preceded by a digits and followed by a digit you could remove the \\fr
机器翻译自 English