0 votes
233 views

Dear Paratext users,

We are working on a project and need to change the beginning of the verse from a lowercase letter to an uppercase letter through regex. If anyone is able to assist in this matter, I would appreciate it.

For example:

\v 15 and let them be for lights in the firmament of the heaven to give light upon the earth: and it was so.
\p
\v 16 And God made two great lights; the greater light to rule the day, and the lesser light to rule the night: \add he made\add* the stars also.
\p
\v 17 And God set them in the firmament of the heaven to give light upon the earth,
\p
\v 18 and to rule over the day and over the night, and to divide the light from the darkness: and God saw that \add it was\add* good.

Thanks with regards,

Thiyagarajan

Paratext by (110 points) | 233 views

1 Answer

0 votes
This can be done by using the list feature of RegEx Pal. There is a discussion of this at:

https://support.bible/9271/using-a-list-for-replacing-in-regex-pal?show=9271#q9271

or you can search for "Using a list for replacing in RegEx Pal"

Your list of expressions might be something like:

(?<=(\\v \d+ ))a-->A

(?<=(\\v \d+ ))b-->B

(?<=(\\v \d+ ))e-->E

(?<=(\\v \d+ ))i-->I

(?<=(\\v \d+ ))p-->P

This says look for a lowercase letter preceded by \v digits space and change it to uppercase.
by (9.8k points)

It is greatly appreciated that you responded to me so promptly. Having checked these regex rules, I am pleased to report that they appear to work as expected.

Related questions

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
4 answers 310 views
Continuing the discussion from Poll: Spelling Discussion Note - Yellow box needed?: Poll: Spelling Discussion Note - ... the help topic. Are there better alternatives than this?
anonymous asked Apr 16, 2015
0 votes
1 answer 136 views
I am an administrator on a standard project and the project has numerous auxiliary projects associated for which I am not an ... set them all up. How can this be done? Thanks.
Jeremy Lang 103 asked Feb 12, 2025
0 votes
1 answer 160 views
I have a need to do local testing on proposed changes to a project hosted by the DBL. I need to ... there documentation for these dialogs and the process of creating resources?
stevepence 127 asked Jun 16, 2023
0 votes
2 answers 268 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?
Waseem Raza 102 asked Jun 12, 2023
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Give proper recognition to those widows who are really in need.
1 Timothy 5:3
3,037 questions
5,995 answers
5,661 comments
2,022 users