|
On 7/15/2011 5:10 AM, Paul Bailey wrote:
Can anyone tell me how to get the REPLACE text to have newlines in it? Don't worry about mentioning other tools that convert to /FREE more successfully, as I can only work with the tools I have.Can you download a more regex-friendly editor? Notepad++ does not have
full support for the Posix regexp, but this worked:
find: ^(.....)C (\d\d) ITER\s*$
repl: \1C IF *IN\2 = *ON\n\1C
ITER\n\1C ENDIF\n
I copy/paste the section of text I want to work with. I also tend to
use Rexx macros in Code/400 for this sort of thing.
--buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.