I have new text files that I need to make updates to on a regular basis. What I need is to find a line of text and then append below that line three additional lines like this:
Once found, enter these lines directly below it:
Thanks for any help or examples.
Code:
'Search for this line which has hundreds of lines below it
M8010 (Tool Head DOWN)
Once found, enter these lines directly below it:
Code:
N0109 (Park Tool)
N0110 G01 F999.900
N0111 X-1.5 Y1.5 Z-2.82
Thanks for any help or examples.