Thanks indeed!
This pattern worked just perfect.
Nasko
"1lt John W. Holmes" <[EMAIL PROTECTED]> wrote in message
00e601c2c2e0$0c204720$a629089b@TBHHCCDR">news:00e601c2c2e0$0c204720$a629089b@TBHHCCDR...
> If the separators are always the same length, then you can use the
> following:
>
> $new_str
Hmm... i'm not that advanced...
May be first I replace any string containing "---" with "---x", then use
your solution?
<[EMAIL PROTECTED]> wrote in message
news:r01050400-1023-F7D646F52EC711D78B79003065B83B6C@[208.37.41.173]...
> Hmmm... I was about to reply with a simple solution, but there's a
I have an ASCII file which has multiple blocks of text I want to clear. The
scheme is as follows:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
line 1 Everything between the separators,
line 2 including the separators
line 3 I want to clear from the text file
line 4
--
3 matches
Mail list logo