I have a text file where I need to replace several strings with new strings. After reading several threads in this and in the macros section, I have gotten this far, where I can find and replace ONE string successfully:
InsertMode
ColumnModeOff
HexOff
UnixReOff
Bottom
IfColNum 1
Else
"
"
EndIf
Top
Loop
Find "' '"
IfFound
"'SPACE'"
IfEof
ExitLoop
EndIf
EndLoop
My problem is that I don't understand how to make it repeatedly loop to the top of the file and search for the next item I need replaced until it's searched for them all, and then stop. I will have to make this macro find/replace 10 or so separate strings of text.
Here are a few examples of what I will need to find/replace, if it helps:
Find "' '"
IfFound
"'SPACE'"
Find "';'"
IfFound
"'SEMICOLON'"
Find "','"
IfFound
"'COMMA'"
Thanks in advance for any help you can provide!
-sonofsamx
InsertMode
ColumnModeOff
HexOff
UnixReOff
Bottom
IfColNum 1
Else
"
"
EndIf
Top
Loop
Find "' '"
IfFound
"'SPACE'"
IfEof
ExitLoop
EndIf
EndLoop
My problem is that I don't understand how to make it repeatedly loop to the top of the file and search for the next item I need replaced until it's searched for them all, and then stop. I will have to make this macro find/replace 10 or so separate strings of text.
Here are a few examples of what I will need to find/replace, if it helps:
Find "' '"
IfFound
"'SPACE'"
Find "';'"
IfFound
"'SEMICOLON'"
Find "','"
IfFound
"'COMMA'"
Thanks in advance for any help you can provide!
-sonofsamx