How to select multiple lines

Eric Bouyoux eric.bouyoux at insidefr.com
Tue Sep 8 09:14:07 CEST 2009


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.


More information about the Discuss mailing list