View Single Post
Old 08-29-2024, 08:00 PM   #4
bookimp13
Junior Member
bookimp13 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2022
Device: Galaxy Tab A 8.0 (2019)
Quote:
Originally Posted by KevinH View Post
What you are looking for is called Regular Expression Find and Replace (aka regex).
This mode enable placeholders for specific character classes. Digits are represented by \d,
and a following + sign means 1 or more.

So set Sigil's Find and Replace Mode to Regex.

Try using something like the following in the Find Field:

DSF Chapter \d+

Before making any big Find Replace changes, I would make a Checkpoint just in case a big find and replace does not work the way you expect.

Sigil also has a DryRun Find and Replace command that will show you all the Find and Replaces done in context but not actually perform them, so you can test your regex expressions first.
This worked great thank you!
bookimp13 is offline   Reply With Quote