-1

I am working on existing big project and I notice that there is useless code in different files. I have to remove that code from many files, but it' would take a lot manually. So I am trying one regex to replace this code in different files.

Is this any way to find the follwing code with one regex?

.map(
    response => {
        return response;
    }
);
Keryanie
  • 721
  • 6
  • 18
  • Possible duplicate of [Regular expression for exact match of a string](https://stackoverflow.com/questions/5752829/regular-expression-for-exact-match-of-a-string) – Jack Moody Jan 17 '19 at 10:27

1 Answers1

2

In VSCode you can do it even without a regex. Just paste the text in the search box...

enter image description here