-1

Looking for a bit of help. After completing hundreds of pages, I came across an HTML error. Need simply to move the /h1> closing tag to reside before the p> tag Is it possible with notepad++ or other, to find these 6 lines and replace the /h1> tag from line 6 to the end of the second line? Appreciate the help, if it's possible, as it will save a lot of work replacing it individually on all my pages.

Code is; tab delimited.

Note: The title and paragraph are never the same.

Find:

 <h1 id="h-title">
              Estatus rogue
              <p>ext 098 float
                <br>
              </p>
            </h1>

Replace with:

<h1 id="h-title">
              Estatus rogue</h1>
              <p>ext 098 float
                <br>
              </p>

In advance all my appreciation for your help

4
  • It sounds like you probably should be using a templating engine that makes this easy... Commented Feb 16, 2021 at 16:07
  • Are you saying that there are hundreds of files like this, and you need to edit them all in a similar way? Why not change the generator, and regenerate them? Commented Feb 16, 2021 at 16:12
  • Don't know a lot about templating engines, but don't see how they would work. Commented Feb 17, 2021 at 10:02
  • Sorry Tom Lord, I do not understand... Generator?!! Yes, do have loads of files all completely different, except the snippet of a title code that exists on all, but also never the same. I thought (redux) being the solution. Commented Feb 17, 2021 at 10:03

1 Answer 1

0

Try downloading/using Visual Studio Code Community and doing a find and replace in multiple files

Here's a link to someone else who has done this.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.