Well it's the same word in every line, " #define ", at the begining of the lines. That's why I tried to overwrite those 7 characters with 0, that's the loop for.
If it can't work within the code, I guess I could have another RichEdit box and cut the first word (delimited by a space. all the...