0 votes
264 views
I want to search how many times KJV used the word "and" at the beginning of a sentence. Is there any filter to do that?
Paratext by (102 points)
edited by [Moderator]
| 264 views

2 Answers

+1 vote
I think this Regular Expression will find every And at the beginning of a sentence. The characters inside the square brackets  are all the sentence ending punctuation plus the digits 0-9, because the first sentence in a verse is preceded by the verse number.

[.:?!1234567890]\sAnd\s

You can open the RegExPal  tool from "Advanced" in the project menu. In RegExPal, choose the tool "count/extract" then enter this expression and ask for a count.
by [Expert]
(3.3k points)
Could you not just do a regular search for all the "And" words matching case? I wouldn't expect "and" to be capitalized anywhere but at the start of a sentence.
@sewhite I don't think you included quotations, or a * (i.e., if it's after a closing footnote or cross-reference). There could be other "odd" characters too...

If somebody is non-technical, I would suggest @Fool Running's response, as it's easier to implement for a non-techie.
+1 vote

I would suggest using the standard Find (thank you @Fool Running for the tip):

  1. Go to the Find window for your project/resource
  2. Type And in the find box (#1 below):
  3. Choose "All Books" (#2 above)
  4. Click the More button (#3 above)
  5. In the More section:
    1. For Restrictions: Choose "Whole Word Only"
    2. Select "Match case"
    3. Select "Show Verse Context" if you want
by [Moderator]
(2.1k points)

Related questions

0 votes
1 answer 231 views
Dear Paratext users, We are working on a project and need to change the beginning of the verse from a lowercase letter ... \add it was\add* good. Thanks with regards, Thiyagarajan
Thiyagarajan 110 asked Aug 29, 2023
0 votes
2 answers 495 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
1 answer 217 views
Some projects after some time decide that they do not want periods or other sentence final punction at the end of ... No as appropriate. Admin Edit: Fixed formatting of post.
[Expert]
Jeff_Shrum
2.9k
asked Aug 29, 2022
+1 vote
1 answer 162 views
I am sure the answer to this must be out there somewhere, but I can't find it. How can I restrict a search and ... enough it is possible, but that is beyond my level of competence.
mvk1000 206 asked Aug 13, 2024
0 votes
1 answer 30 views
This is my problem: In the footnote, the translator provides the Hebrew word in source text and its range of meaning. The ... the size of the main font. How to solve this problem?
Y Mdu Niê 124 asked Mar 10
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Finally, all of you, be like-minded, be sympathetic, love one another, be compassionate and humble.
1 Peter 3:8
3,037 questions
5,994 answers
5,661 comments
2,022 users