View Single Post
Old 02-11-2024, 03:37 PM   #1
zimpt
Junior Member
zimpt began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Feb 2024
Device: Kindle Paperwhite 4th Iteration (Gen. 10)
Use search and replace to add leading zeroes

I want to use search and replace on a bulk of files named "Chapter 1, Chapter 2... Chapter 100" to include leading zeroes so every file is 3 digit long: "Chapter 001, Chapter 002... Chapter100". If I enter "\d+" in the "Search for" field it detects the numbers but I don't know what to put in the "Replace with" field. \\n refers back to the number but how can i modify it conditionally?
zimpt is offline   Reply With Quote