Add characters to the end of a string using regex notepad2

前端 未结 5 1731
不知归路
不知归路 2020-12-28 22:46

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

5条回答
  •  清酒与你
    2020-12-28 23:21

    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 ;

提交回复
热议问题