Subject: | |
From: | |
Reply To: | |
Date: | Wed, 7 Jun 2006 14:14:06 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 8:37 PM +1000 6/7/06, Timothy Bates wrote:
>change "\\n+" into "\\n" in z regexpflag {"EXTENDED"} with regexp
I think that Joe really needs \\r rather than \\n (he says "carriage
return"), whence:
set z to change "\\r+" into "\\r" in z with regexp
(I think the regexpflag is not needed here.)
>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:
Emmanuel
|
|
|