Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 866041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T09:44:16+00:00 2026-05-15T09:44:16+00:00

I have a document that was converted from PDF to HTML for use on

  • 0

I have a document that was converted from PDF to HTML for use on a company website to be referenced and indexed for search. I’m attempting to format the converted document to meet my needs and in doing so I am attempting to clean up some of the junk that was pulled over from when it was a PDF such as page numbers, headers, and footers. luckily all of these lines that need to be removed are in blocks of 4 lines unfortunately they are not exactly the same therefore cannot be removed with a simple literal replace. The lines contain numbers which are incremental as they correlate with the pages. How can I remove the following example from my html file.

Title<br>
10<br>
<hr>
<A name=11></a>Footer<br>

I’ve tried many different regular expression attempts but as my skill in that area is limited I can’t find the proper syntax. I’m sure i’m missing something fairly easy as it would seem all I need is a wildcard replace for the two numbers in the code and the rest is literal.

any help is apprciated

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T09:44:17+00:00Added an answer on May 15, 2026 at 9:44 am

    The search & replace of npp is quite odd. I can’t find newline charactes with regular expression, although the documentation says:

    As of v4.9 the Simple find/replace (control+h) has changed, allowing the use of \r \n and \t in regex mode and the extended mode.

    I updated to the last version, but it just doesn’t work. Using the extended mode allows me to find newlines, but I can’t specify wildcards.

    However, you can use the macros to overcome this problems.

    • prepare a search that will find a unique passage (like Title<br>\r\n, here you can use the extended mode)
    • start recording a macro
    • press F3 to use your search
    • mark the four lines and delete them
    • stop recording the macro … done!

    Just replay it and it deletes what you wanted to delete.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a PHP program that reads from the database and generated formatted sheets.
I'm refactoring a large javascript document that I picked up from an open source
I have code written that converts my Document to a string prior to printing
I'm parsing RTF 1.5+ files generated by Word 2003+ that may have content from
I have a large amount of Word documents that I need to parse. As
I have stored procedure that returns results sorted dynamically. The parent folder (this is
I have a WPF ListView control for which I am dynamically creating columns. One
This I'm assuming is a relatively trivial problem. I have two connected sortable lists,
Thanks in advance for taking the time to read this. Apologies that it is
I like haskell and many things connected with it as its type-engine, lot of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.