Remove the Characters '[' and ']' with Sed

Hi,

I am new to Sed and would like to know if it is possible to remove the characters [ and ].

I have a couple of files with a [NEW] keyword and would like to remove the substring.

I am Using sed s/[NEW]// but Its not working

Thanks for your Support

Andrew Borg

sed 's/\[NEW\]//g' 

will do it.

1 Like

Thanks It Worked like a Charm ! :b: