I have a massive string (a SQL query..) that I have written out in notepad2. I\'m using Java, and I was just wondering if there was a fast and easy way to add something to
In Regex you can group expressions using () - Parenthesis, and represent them as \1, \2, etc. So, anything like this can be appended as follows:
Find: (.*); Replace: \1 your_new_text ;