I have a text file report that is generated by some engineering software that I'm trying to insert page-breaks into at certain locations. That part is working fine, but I want to add the header (which the engineering software adds to the top of the file only) right after each new page break.
The header is followed by two blank lines at the top of the report. I thought I'd just select all the text from the top of the file to the end of the two blank lines and then copy that selection to the clipboard. I can't seem to get UE to search/select to the first occurrence of two successive blank lines. I have tried having the macro look for "%^p%^p" with no luck. UE always seems to just select the first line of the header and that's it.
Here is a sample of the header:
Thanks for any suggestions!
The header is followed by two blank lines at the top of the report. I thought I'd just select all the text from the top of the file to the end of the two blank lines and then copy that selection to the clipboard. I can't seem to get UE to search/select to the first occurrence of two successive blank lines. I have tried having the macro look for "%^p%^p" with no luck. UE always seems to just select the first line of the header and that's it.
Here is a sample of the header:
Code: Select all
Project: IN20060894
Subject:
Job No. 894 Operator: DW
Date: Tuesday November 7, 2006 11:17 am
SYSTEM FIX 4 ASEC 2 BEAR PRI 0 RED NE STA 3 FILE: 'CHNS'
--blank line #1--
--blank line #2-- *** I want to end selection here ***