Replace lines at specific locations

I need to add the ability to replace the line (circled in red) above the paired lines … please help … TYIA



Replace at intervals.gh (10.3 KB)

This assumes your ID is always “0 CHECK 1” and always occurs twice.


REPLACE.gh (14.7 KB)

1 Like

@ftzuk Thank you s much … one tweak, the “0” in “0 Check 01” many not always be a number it could be a letter … needs to be able to work if its a letter.

Now replaces the line above any instance of “CHECK” regardless of what comes before or after.

SEARCHB.gh (17.4 KB)