0 votes
138 views

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 (312 points) | 138 views

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 (872 points)

Related questions

0 votes
2 answers 634 views
I need to find out what percentage of each book has been drafted. A count of how many verses in each book have text ... Thanks for any help you can give me on this. John Nystrom
john_nystrom 312 asked Aug 21, 2024
0 votes
2 answers 184 views
I would like to extract all files from a Paratext project in the state they were in at a certain point in the history ... 't affect the Paratext project) all the files in that Rev.
jeffh 1.4k asked Oct 11, 2019
0 votes
1 answer 245 views
Is there a good way to extract Section Headings to help create Book Outlines? I tried copy/paste from the Section Headings ... required once we have a list. Thank you, SIL+LSS+PNG
SIL LSS PNG 411 asked Apr 30, 2019
0 votes
3 answers 361 views
İs there any program for Linux that can extract verses? For example typing john3:3 would extract the verse for ... extract verses and make books by reading the paratext files
anon845828 137 asked Sep 17, 2018
0 votes
8 answers 1.4k views
We have a user who has inserted a lot of \pn and some \nd inside of footnotes. We now know we need those to be ... the search to inside of a single footnote? Thank you, MSEAIT/LT
MSEAIT_LT 478 asked Aug 20, 2018
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Dear friends, since God so loved us, we also ought to love one another.
1 John 4:11
3,042 questions
6,001 answers
5,666 comments
2,024 users