0 votes
217 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 | 217 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 338 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 497 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 339 views
When running the Basic Checks->Punctuation tool, I'm getting a large number of errors saying Punctuation missing at ... to identify a new paragraph whenever a \qt marker occurs?
mnjames 1.9k asked May 12, 2020
0 votes
2 answers 272 views
We have several languages in our area that do not normally use punctuation to mark end of sentence. They mark end of ... a lot of Punctuation missing at end of Paragraph . Thanks
MSEAIT_LT 478 asked Nov 29, 2017
0 votes
2 answers 224 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
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Don’t you know that you yourselves are God’s temple and that God’s Spirit dwells in your midst?
1 Corinthians 3:16
3,037 questions
5,995 answers
5,661 comments
2,022 users