To delete all special character from file f1.txt.

sed 's/[!@#\$%^&*()]//g'  f1.txt

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post