Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!rutgers!lll-crg!nike!ucbcad!ucbvax!hplabs!felix!peregrine!mike From: mike@peregrine.UUCP (Mike Wexler) Newsgroups: net.emacs Subject: regular expressions and operations other than replace Message-ID: <1168@peregrine.UUCP> Date: Fri, 17-Oct-86 18:38:47 EDT Article-I.D.: peregrin.1168 Posted: Fri Oct 17 18:38:47 1986 Date-Received: Tue, 21-Oct-86 05:42:38 EDT Reply-To: mike@peregrine.UUCP (Mike Wexler) Organization: Peregrine Systems, Inc, Irvine Ca Lines: 14 Since I have switched from vi to EMACS, there is one thing that I missed more than anything else. The ability to perform an operation on all the lines that met a particular criteria(specified by a regular expression). For instance in vi, I could type in "/[A-Z][a-z]*/d" to delete all lines that met the specified criteria or I could type in "/\([A-Za-z][A-Za-z]*(\).*\()\)/s//\1\2". How would I do similar operations in EMACS? -- Mike Wexler (trwrb|scgvaxd)!felix!peregrine!mike (714)855-3923