0 votes
405 views

One project took over some cross references via adaptation. We would like to delete all references starting with \x -. Is there a simple way to do this in bulk?

Paratext by (869 points)
reshown | 405 views

1 Answer

+1 vote
Best answer

Delete using the regular expression
“\x .*?\x*”
via RegExPal or in Paratext replace with the above expression in the find and nothing in the replace.I’d test it on the finds before actually doing the replace.

anon467281

by (571 points)
reshown

Thanks. \x .*\x* worked in RegExPal, but not in Paratext itself. I have never used RegExPal before.

Iver+Larsen

Iver+Larsen,

When you do a regular expression search in Paratext Find you must include “regex:”. So, the expression for Find would be:

regex:\\x .*?\\x\*

This says do a regular expression search for \x followed by any character zero or more times until you come to first the \x*

This will remove ALL cross references, not just the ones starting with “\x -”. You would need to include the “-” in your search in order to distinguish these cross references from any others which don’t use the “-”.

Yes, HBarker is correct. To meet your original request to eliminate the references that start with \x - you should use the following

Yes, I discovered that the hard way by first deleting all cross references, then undoing that in Paratext and using the one with the - in it.
Thanks,
Iver+Larsen

Related questions

0 votes
1 answer 39 views
I'm supporting a user who recently added cross references in preparation for typesetting. I believe he imported a standard set ... else do we need to do to resolve these errors?
Zak_OLeary 104 asked Apr 1
0 votes
1 answer 27 views
There are numerous places where we have used \+nd Here\+nd* in cross reference keywords/quotes or in footnote ... correct way to style these in cross-references and footnotes?
gregbac 141 asked Jan 19
0 votes
1 answer 43 views
Since the is detail lacking in the USFM documentation and I am not able to find the answer here, please can you clarify the ... -->|ESG 10:13\xta \+it k\+it*\x*
gregbac 141 asked Jan 9
0 votes
2 answers 44 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
2 answers 195 views
We use \xt ...\xt* all the time in Paratext and in many places, like Topical Index, Read through the Bible ... Scripture Reference Book Names. XXA Lit. Liturgy Sunday Liturgy etc.
davidc78 370 asked Mar 6, 2025
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,044 questions
6,003 answers
5,671 comments
2,026 users