change "\\n+" into "\\n" in z regexpflag {"EXTENDED"} with regexp On 07/06/2006, at 7:10 PM, Joe Barwell wrote: > I've been wrestling with a very basic regex problem, using Satimage > osax, os 10.3.9. Basically, I want to strip multiple blank lines > (i.e. carriage-returns), but leave the remaining text and single > carriage-returns, e.g. the data may look like this: