Does anyone know if there is a way to preserve case for all the matches to be replaced?
Currently I’m using custom search panel with replaceAll
, replaceNext
helpers.
Example (case insensitive search):
abc
- search query
def
- replace query
const str = 'Abc'
- code string
Expected result after replacing:
const str = 'Def'