View Single Post
Old 09-28-2021, 05:15 PM   #5
Ted Friesen
Ted Friesen began at the beginning.
Posts: 42
Karma: 10
Join Date: May 2016
Device: Kindle
Thanks Ducks,

That got me further, but not all the way.

With this search string (.*?)(\#)(\d+)\s(.*?)_ (a blank space at the end)
Test text of: Woodworker's Journal #142 Jul-Aug 2000 results in 1422000
The addition of \s has removed the text "Jul-Aug " from the result, but not the following number. Without the trailing space that text string is not removed.

But adding \d+ after the trailing space resulted in just the volume number. Someone needs to explain why \s(.*?) \d+ would capture Jul-Aug 2000 and (.*?) would not

Last edited by Ted Friesen; 09-28-2021 at 05:23 PM. Reason: Success after posting
Ted Friesen is offline   Reply With Quote