@PeterJones said in How do I add a specific text at the end of each line start with same specific text:
his worked for me without edits, without the braces. Though I agree that braces are a better idea, to avoid problems.
Ha. I didn’t even try the original replacement string.
It isn’t often that we get a request where someone actually has it right at the time of asking!
I thought there was something special about 0, and you’re right, I just always err on the side of caution and do ${0}, ${1}, etc. I guess the special thing I’m thinking of about 0 is that you can’t do \0 like you can \1, \2, etc.
Aside: Most people like the \1 notation because it is shorter than ${1} but I like the cleaner look of the latter, and “leaning toothpicks” make me crazy as well.