[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
- Newbie regexp question,
Paul Cohen <=
- Re: Newbie regexp question, Friedrich Dominicus, 2002/10/30
- Re: Newbie regexp question, Paul Cohen, 2002/10/30
- Re: Newbie regexp question, Friedrich Dominicus, 2002/10/30
- Re: Newbie regexp question, Michael Slass, 2002/10/30
- Re: Newbie regexp question, Friedrich Dominicus, 2002/10/30
- Re: Newbie regexp question, Michael Slass, 2002/10/30
- Re: Newbie regexp question, Michael Slass, 2002/10/30
Re: Newbie regexp question, Barry Margolin, 2002/10/30
Re: Newbie regexp question, Stefan Monnier <address@hidden>, 2002/10/30