Home > Software design >  Specify anything in brackets - vscode
Specify anything in brackets - vscode

Time:06-14

I have a file that contains texts and inside each text there is a number in parentheses Is there a way in vscode to select all the numbers in parentheses and delete or replace them in an easy way, I can't do it manually because the scripts exceed 5000

vscode search and replace

You could also use sed to do that.

sed -E 's/\([0-9] \)/(something else)/g' file.txt > newfile.txt
  • Related