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 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.

by (834 points)
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
There is neither Jew nor Gentile, neither slave nor free, nor is there male and female, for you are all one in Christ Jesus.
Galatians 3:28
2,633 questions
5,375 answers
5,046 comments
1,420 users