0 votes

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

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
0 votes
2 answers
+1 vote
1 answer
0 votes
1 answer
Paratext Jan 5, 2021 asked by Paul (615 points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They devoted themselves to the apostles’ teaching and to fellowship, to the breaking of bread and to prayer.
Acts 2:42
2,617 questions
5,350 answers
5,037 comments
1,420 users