delete the found text in vscode code example
Example 1: How do I find and replace all occurrences (in all files) in Visual Studio Code?
Ctrl+Shift+H
Example 2: substitute everything visual studio code
Click on the left bar the search icon
Then with the symbol at the right side of the input field decide if apport the substitution to all files