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 8266461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:10:16+00:00 2026-06-08T05:10:16+00:00

I am working on a project that converts a few dozen html files into

  • 0

I am working on a project that converts a few dozen html files into text files, and have composed the replace-regexp formulae that do the job. The question is, how to apply all six of them consecutively, and then to do so to each of the dozens of files in the directory? I’ve appended my org explanation that includes the regexp, but keep in mind that those aren’t the problem; they do their job (after translating the ^J, etc). The question is just how to programatically apply all six of them to each (HTML) file in the directory?

* 1. Delete all until >General Conference<
\(.*^J\)*.*?General Conference
* 2. Delete all <p class="copyright"> and after
^.*<p class="copy\(.*^J\)*
* 3. Strip all tags
\(<.*?>\)*
* 4. Remove whitespace lines
^\s-*^J
* 5. Remove ugly numeric identifier
^\s-*[0-9].*^J
* 6. Remove amp 
&amp; -> &
  • 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-06-08T05:10:18+00:00Added an answer on June 8, 2026 at 5:10 am
    1. Open the directory with Dired: C-xC-ddirectoryRET
    2. Mark the files you want to change, either by pressing m (dired-mark) to mark each one individually, or some other mechanism in the Mark menu in the menu bar, like *.htmlRET (dired-mark-extension) to mark all files with an html extension.
    3. QregexRETRET (dired-do-query-replace-regexp) to replace any examples of regex with nothing. You can use Ωmega’s regex for this.
    4. You can then either replace individual examples with SPC or all examples without asking further questions with !.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a project that requires to convert html email into text. Below
I was working on project that had problem when encoding UFT-8 text into JSON
I am working on project that converts database entities into DTO objects. To do
I have a working project that Im amending, it crashes after trying to use
Disclaimer: I'm working in a project where exist an huge webapp that have an
I am working on a project that at it's core involves adding text to
I am working on a project, and I have a generic abstract type that
In a project that I'm working on I have to work with a rather
I have a project that I am working on that requires me to delete
I'm working on project that lets users choose some scientific authors and columnists and

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.