0 votes
388 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 | 388 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 518 views
I am trying to figure out the best way to hande a particular issue regarding cross references. We have a ... anyone can offer some suggestions here, I would appreciate it.
Stephen Katt 1.3k asked Jan 13, 2022
0 votes
2 answers 359 views
I am trying to clear up the final errors in my project, and I've noticed that each cross reference is doubled. (E.g. \x ... the Short Name (/toc2). Any ideas on how to fix this?
anon055151 176 asked Nov 11, 2021
+1 vote
1 answer 229 views
Apologies if this has already been asked/discussed or is in a manual somewhere! I'm wondering if there is a way ... for references, but these were not picked up. Thanks, anon953007
anon953007 213 asked Jan 25, 2021
0 votes
1 answer 190 views
Is there a way to copy cross references from a translated book to its back translation (BT)? I know there's a way to do ... currently empty). I'd love to be proven wrong on this!
Paul 642 asked Jan 5, 2021
0 votes
1 answer 208 views
For some time, Paratext used to have a checking item called Insert Cross References or Notes'. Files for this ... I am specifically interested in the old check mentioned above.)
anon818964 147 asked Jun 21, 2019
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