help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie regexp question


From: Paul Cohen
Subject: Newbie regexp question
Date: Wed, 30 Oct 2002 15:07:21 GMT

Hi

I want to do a Emacs regexp search and replace on a HTML file containing
patterns like this:

<!--Test-->
...
<!--End of Test-->

Where "..." denotes a variable number of lines of HTML text.

I want to search for all occurrences of the above pattern and then
remove them from the HTML file!

I've tried a number of variants without any success. For example the
following regexp doesn't work:

<!--Test-->\(.*\n\)*<!--End of Test-->

/Paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]