Quote:
Originally Posted by ldolse
You can use parentheses with the '|' character:
Code:
(\d+|\d+\s\d+|\d+\s\d+\s\d+)
You could also probably simplify it further by using this regex:
Don't forget to include <br> or <a name=\d+> somewhere in the expression so that numbers in the middle of the text don't get eaten.
|
This worked pretty well: (\d+\s?)+
I still needed to go in clean out the pages where a chapter started, but those did not have letter spacing between the digits and had a different string of characters surrounding them. In the end I still needed to do a couple of conversions, but your assistance made it much easier.
I am saving the searches that worked in a spreadsheet for future reference as there are about 12 books in this authors series. Maybe they will come in handy, if they don't keep changing the structure of the page titles.
Now I need to clear out all the useless searches I created that Calibre saves so I can have a cleaner drop down. Just need to figure out what file that info is stored in.
ldolse thanks once again for your help. I believe that I am understanding the structure for the search tags a little better and hopefully can carry on on my own.