有些專案在一段時間後決定不希望腳註末尾出現句號或其他句末標點符號。使用「尋找並取代」是明顯的方法。然而,句號與腳註標記「\f*」之間很容易出現多餘的空格。
若要尋找所有腳註末尾的句號,無論句號與 USFM「\f*」之間有多少個空格(包括沒有空格),都需要使用正規表示式。
正規表示式 \.\s?\\f\* 將可找到所有腳註末尾的句號,無論句號與 \f* 之間有多少個空格。
此「尋找並取代」操作可以透過多種方式執行,但如果在 Paratext 的「尋找並取代」對話方塊的「尋找」欄位中輸入「regex:」,則可以使用簡單的正規表示式。
步驟:
- 按下快捷鍵 Ctrl+h 開啟「尋找並取代」對話方塊。
- 在「尋找」欄位中輸入
regex:\.\s?\\f\*。
- 在「取代」欄位中輸入
\f*。
- 確認 Match in: 欄位已設定為 All text。
- 設定要刪除句號的書卷範圍。
- 將「限制」(Restrictions)設定為 No Restrictions。
- 點擊 Replace 按鈕。

Find-Replace dialogue-21281×1429 202 KB
範例:移除創世記中所有腳註末尾的句號
- 逐步檢視每個建議的變更,並視情況點擊「是」或「否」。
管理員編輯:已修正貼文的格式。
Some projects after some time decide that they do not want periods or other sentence final punction at the end of their footnotes. Using find and replace is the obvious method. However, it is easy to have extra spaces between the period and the end of footnote marker “\f*”.
To find all periods at the end of footnotes regardless of the number of spaces (including none) between the period and the USFM “\f*”, a regular expression is needed.
The regular expression \.\s?\\f\* will find all periods at the end of footnotes regardless of the number of spaces between the period and \f*.
This find and replace can be done by various means, but it is possible to use simple regular expressions in Paratext’s Find and Replace dialogue, if “regex:” is typed in the Find box.
Procedure:
- Open the Find and Replace dialogue by typing the shortcut key Ctrl+h.
- Type
regex:\.\s?\\f\* in the Find box.
- Type
\f* in the replace box.
- Verify that the Match in: box is set to All text.
- Set the range for the book or books where you want to delete the periods.
- Set Restrictions to No Restrictions.
- Click on the Replace button.

Find-Replace dialogue-21281×1429 202 KB
Example of remove final periods for all footnotes in Genesis
- Step through each proposed change clicking Yes or No as appropriate.
Admin Edit: Fixed formatting of post.
機器翻譯自 English