Re: regular expression to kill Lines:

From: Michael Hanson (michaelh@scn.org)
Date: Tue, 28 Jan 1997 15:16:25 -0800

On Tue, 14 Jan 1997 21:45:44 +0100, rgriech@ibm.net (Hardy Griech) wrote:
>On Tue, 14 Jan 1997 08:36:57 -0600, pcrown@airmail.net (Phil Crown) wrote:
> :
>> I think I've tried this, but can't remember the results. It may work,
>> but I was trying to do it in one line instead three.
> :
>
>Not sure if this is even possible with regular expressions (I am not a
>theoretical computer scientist...). There are some extensions to

Definitely possible with regular expressions. Since you wish to
match a finite collection of strings, you can just list them with
ORs between them. i.e.
0|1|2|3|4|5|6|7|8|9|10|11| . . . |999
One (long) line. ;)