View Single Post
Old 03-30-2023, 06:32 PM   #1
CrispyBacon
Junior Member
CrispyBacon began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2016
Device: Kindle Fire 7"
Find and replace only for headers (Edited)

Like the title says is there a way to find and replace words only in the headers.

Edit: For example I want to find and replace words in <h1> only

Or to change a Chapter name all at once.

I want to change all the - to :
I know I can use this <p>\s*Chapter (\d+) : (.*?)\s* </p> to change it
Is there an expression I can use in the replace box for increasing intervals?

Ex.
Chapter 1- Name
Chapter 2- Name
Chapter 3- Name

to

Chapter 1: Name
Chapter 2: Name
Chapter 3: Name

Last edited by CrispyBacon; 04-02-2023 at 09:27 AM. Reason: More information and question
CrispyBacon is offline   Reply With Quote