Page 1 of 1

Moving a line up in a macro

Posted: Sat May 19, 2001 9:11 pm
by Samuel
Here is an example of what I am trying to fix

025877 260.00 113 Bryant, Dr. Roger 11164 169937 05/04 260.00

PRE PAYMENT

025878 45.00 113 Bryant, Dr. Roger 11164 169940 05/04 45.00

PRE PAYMENT

025879 45.00 113 Bryant, Dr. Roger 11164 169939 05/04 45.00

PRE PAYMENT

025880 45.00 113 Bryant, Dr. Roger 11164 169938 05/04 45.00

PRE PAYMENT
......................................................
I can make a macro to move the word PRE PAYMENT to the beginning of the line but is there a macro to make it move up so that its at the end of the line above?

025877 260.00 ..... ....... PRE PAYMENT

025878 45.00 ..... ........... PRE PAYMENT

I hope you understand this. If not I can send an attachment....

Thanks

Re: Moving a line up in a macro

Posted: Sun May 20, 2001 12:11 pm
by Andreas
replace
\nPRE PAYMENT
by
PRE PAYMENT
with reg ex activated

Re: Moving a line up in a macro

Posted: Sun May 20, 2001 1:55 pm
by Roy Beatty
Or perhaps two \n's ?

Find:::: \n\nPRE PAYMENT<br>
Replace: PRE PAYMENT