Answer the question
In order to leave comments, you need to log in
How to properly use search and replace with regular expressions in sublime text 3?
In general, the task is this, in HTML you need to search and replace some lines of code at the same time by several parameters. As I understand it, you can do this using regular expressions, but it doesn’t quite work out.
I did this:
look for:
(code one)|(code second)
replace with:
(?1code third)(?2code fourth)
The method is working, but after the replacement it adds the characters "(?" and ")" to the beginning and end of the replaced code .
Question:
How to make characters not added after replacement?
thanks for the help
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question