0 votes
259 views

Similarly to Iver, I have never used RegEx. I have a team who has changed their cross-reference format to use . between chapter and verse instead of :

Could someone walk me through how to help them change all the references in bulk. I tried to follow the previous answers, but got no results at all.

Are there any courses, EMDC online sessions on RegEx?

Thanks,
anon928451

Paratext by (127 points) | 259 views

2 Answers

0 votes
Best answer

I don’t know if you learn best this way, but I learned most of my Regex by playing around with Regex101 - which allows you to try out your expressions before actually using them in an application. It contains a nice quick-reference guide on the right which has a section called Common Tokens which will get you making 90% of the expressions you’d ever need.

Note that the 3-colon syntax (:::) is specific to RegexPal and I doubt you’d find any other application that works that way.

by [Expert]
(16.7k points)

reshown
0 votes

A search via RegexPal could look like this:

Search: \\x .*?\\x\*:::( \d+):(\d)
Replace: \1.\2

Where \\x .*?\\x\* means: search only inside of cross references
The three colons ::: separate between the context search expression and the actual search
Actual search expression: ( \d+):(\d) One or more digits, followed by a colon and then another digit
Replace: Put together the content of the first expression in parens, a literal dot and the content of the second pair of parens

(I don’t know of any regex online sessions.)

by (872 points)

HI anon719148,

I can’t say I fully understand it all, but it does seem to work. I’m looking forward to learning more at some point.

Thank you so much!

anon928451

Related questions

0 votes
1 answer 315 views
Hi all As I was cleaning up some of the old projects in Paratext, I find some lists of things used which I need to ... the same (but not in a particular field like only in \fig
binoy 327 asked Sep 15, 2022
0 votes
2 answers 49 views
What resources exist for cross-references we can bulk input? I see the UBS XRF files in my installation. Are there other good/trusted/available sources for XRF files? Thanks
listentwice 1.2k asked Sep 2, 2025
0 votes
8 answers 694 views
I've been asked by a team to delete all the notes in a few selected chapters of their translation project. They have ... that I could do a bulk operation to resolve these notes?
benVar 229 asked Jun 9, 2021
0 votes
1 answer 271 views
Does anyone know why I am not offered “Bulk progress mode” in PT9 “Assignments and Progress”? It doesn’t appear in the three-bar dropdown… Thanks for any help.
Paul 642 asked Mar 30, 2023
0 votes
5 answers 1.3k views
Hey everyone, Any idea how I might make bulk (consultant) notes? I want to make the same note in a lot ... could choose the linguistic issues that are relevant to their language.
Caleb R 186 asked Aug 29, 2022
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,046 questions
6,006 answers
5,671 comments
2,026 users