0 votes
283 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 find and replace in bulk
for example.
‘MAT’ > ‘मत्ती’
‘MRK’ > ‘मरकुस’
‘LUK’ > ‘लूका’
‘JHN’ > ‘योहन’
‘ACT’ > ‘परेरितहुंण’
‘1CO’ > ‘1 कुरिन्थिहुंण’
‘2CO’ > ‘2 कुरिन्‍थिहुंण’
etc.
Earlier I used CCTable for finding a lists like MAT, MRK etc in \fig (picture) and replace the found item with respective change only in the \fig.
I am curious to know whether there is already something similar to this in Paratext / RegEx Pal to find a list of item to replace to the respective item in the lists

thanks for the advice in advance…

I found out that Notepad ++ and 2problems can do the same (but not in a particular field like only in \fig…

Paratext by (327 points)
reshown | 283 views

1 Answer

0 votes
Best answer

You can use RegexPal to read a file with multiple search/replace phrases, here is an explanation:

by (872 points)

Thank you anon719148 for pointing the link… I tried it with Roman Script and it is working. But it is not working with Devanagiri Script (Non Roman Script)

for example
(?<=\xt\s[^\]?)यूह–>यूहन्‌ना
(?<=\xt\s[^\]
?)baba–>BABA

It skips the first search but maches only the second one from the lists

I’m sorry, it seems like only ANSI-characters are possible to use. This is an older encoding only for roman script, not Unicode/UTF-8. (cf. Using a list for replacing in RegEx Pal - #4 by phil_leckrone).
Currently, I see three options to go ahead in this case:

  1. Use CCTable again
  2. file a feature request for RegexPal to read UTF-8 files properly
  3. find and adapt a script from there: A new place to let people know about your custom python scripts for Paratext

Related questions

0 votes
2 answers 234 views
Similarly to Iver, I have never used RegEx. I have a team who has changed their cross-reference format to use ... any courses, EMDC online sessions on RegEx? Thanks, anon928451
anon928451 127 asked Sep 21, 2022
+1 vote
1 answer 162 views
I am sure the answer to this must be out there somewhere, but I can't find it. How can I restrict a search and ... enough it is possible, but that is beyond my level of competence.
mvk1000 206 asked Aug 13, 2024
0 votes
1 answer 248 views
I'm supporting a user who's having trouble using Find/Replace. The same problem presents itself whether he does it ... ? Is there a way to troubleshoot it? Thanks, n8_in_car
n8_in_car 298 asked Nov 22, 2019
0 votes
1 answer 283 views
I'm using Paratext 7.6.54.139 We have recently inserted figures into our translation. These have the \fig tag. ... some way to exclude the figure text from our back translation?
Stephen Katt 1.3k asked Sep 21, 2017
0 votes
1 answer 217 views
Some projects after some time decide that they do not want periods or other sentence final punction at the end of ... No as appropriate. Admin Edit: Fixed formatting of post.
[Expert]
Jeff_Shrum
2.9k
asked Aug 29, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
I urge you, brothers and sisters, to watch out for those who cause divisions and put obstacles in your way that are contrary to the teaching you have learned. Keep away from them.
Romans 16:17
3,037 questions
5,994 answers
5,661 comments
2,022 users