How to select multiple lines

Eric Bouyoux <eric.bouyoux-Umy9UjvE/gtWk0Htik3J/[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
Hi,

The title is not very explicit. Let's have an example.
My file contains :
module toto ;
... (1000 lines of code)
endmodule

I want to remove all lines between "module toto" and "endmodule".
One possibility is to select all lines between the 2 keywords and to
remove them. But how can I do this automaticaly ?

I tried with the replace function and the following reg exp but it
didn't work (^module.+endmodule).

Regards.

Eric Bouyoux.
-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.