Windows
Windows users can click the link below to download the sed tool, then unzip it to a directory, add the directory to the environment variable, and you can use the sed command in the command line.
Sed
4.2.1download
shell
.\sed.exe -i s/before replace/after replace/g xxx.txt