perl -le '$_=q{hi! how are you, man.};s/([!@#$%^&(),.}{[\]+-])/\\$1/g; +print' hi\! how are you\, man\.
In reply to Re: how insert back slash to a string that has only special characters or mixture of both
by suhailck
in thread unable to differentiate last word and intermediate word in a sentence
by suniln
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |