您可以在搜尋(或在 RegEx Pal 中)使用正則表達式來將 . 改為 :
在搜尋中,您必須以 regex: 開頭:
這裡是一個可能的搜尋:
regex:(?<=\\fr \d+)\.(?=\d)
這表示執行正則表達式搜尋,尋找由 \fr 和一個或多個數字 precede,且後跟一個數字的句號。
替換字串只需是冒號。
如果您想尋找任何由數字 precede 且後跟數字的句號,您可以移除 \\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