Homeunix Remove special characters in a text file Vikram somai September 04, 2021 0 Comments Facebook Twitter Remove special characters in a text file if you want to remove special character in the file you just need all symbol in the brackets code: $ cat filename hello@# world! $ sed 's/[!@#\$%^&*]//g' filename output: hello world Tags unix Facebook Twitter
Post a Comment
If you have any doubts, Please let me know
Thanks!