0 votes
229 views

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:

  1. Open the Find and Replace dialogue by typing the shortcut key Ctrl+h.
  2. Type regex:\.\s?\\f\* in the Find box.
  3. Type \f* in the replace box.
  4. Verify that the Match in: box is set to All text.
  5. Set the range for the book or books where you want to delete the periods.
  6. Set Restrictions to No Restrictions.
  7. Click on the Replace button.

Example of remove final periods for all footnotes in Genesis

  1. Step through each proposed change clicking Yes or No as appropriate.

Admin Edit: Fixed formatting of post.

Paratext by [Expert]
(2.9k points)

reshown | 229 views

1 Answer

0 votes

I think the search regex needs some more backslashes, as . * and \ are metacharacters.

regex:\.\s*\\f\*

Paulus+Kieviet

Admin Edit: Fixed formatting of email post

by (517 points)
reshown

Related questions

+1 vote
1 answer 382 views
Some translation projects do not want to have periods at the end of their footnotes. Simply leaving them off will ... at the end of footnotes - Helps - Paratext Supporter Site
[Expert]
Jeff_Shrum
2.9k
asked Aug 30, 2022
0 votes
2 answers 240 views
The project we are working on is failing the Quotation rule basic check because, it would seem, of where the period is ... . How do we configure Paratext to allow quoted words .
MSEAIT_LT 478 asked Dec 12, 2018
0 votes
2 answers 529 views
I received this email from a translator. I could write an elementary regex expression, but believe I would miss some ... me, I would greatly appreciate it. Thank you, james_post
[Moderator]
james_post
2.1k
asked Mar 30, 2023
0 votes
2 answers 316 views
Hello everyone, is there an automatic way to delete all footnotes in a project? Is there a way to do a full import of all footnotes from one project to another?
anon310509 148 asked Apr 4, 2018
0 votes
1 answer 35 views
I am supporting a user who has footnotes in section headings. He wants the verse reference in the footnotes to reference the ... not found in verse:" How can we resolve this error?
Zak_OLeary 104 asked Apr 2
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And over all these virtues put on love, which binds them all together in perfect unity.
Colossians 3:14
3,045 questions
6,005 answers
5,671 comments
2,026 users