0 votes

I have a regex that can extract all the figures in my Paratext project: 

\\fig .*\\fig\*

I would like to have a regex that gives me the same list of figures but also includes the scripture reference for the location of each figure. 

Thanks for any help you can give me on this. 

John Nystrom

Paratext ago by (296 points)

1 Answer

0 votes

This is not a direct answer. I would use the normal PT search with regex:\\fig .*?\\fig\* (using the ? just to be sure the regex does not get too greedy) and just copy the matches from the list window (or "save list as" and edit that file).
If you do not need this in an automated workflow, it may not be worth creating a regex solution. My guess is, you need multiple steps to get your matches.

ago by (760 points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
For just as each of us has one body with many members, and these members do not all have the same function, so in Christ we, though many, form one body, and each member belongs to all the others.
Romans 12:4-5
2,604 questions
5,344 answers
5,034 comments
1,417 users