Originally Posted by tarangoyal
Can we create a custom script to replace any text including special character using for or while loops (inputs should be taken from the user for text, replacement needed and the file to work on)?
I would expect anything can be scripted.
Properly define your requirements, write the script(s), test, implement.
If you have problems, show us the script, the error, your attempts to resolve them, and maybe we can help.