I want to remove two strings globally from some xml code. They are: </sellingStatus>and <sellingStatus>I have tried the following unsuccessfully:sed -i 'sed -i 's/</sellingStatus>//g' file.xmlThe slashes and greater than/lesser than symbols cause have caused issues with my attempts so far.How can I remove these strings with the correct syntax?Thanks
Remove string with > and forward-slash from xml code
shell script;xml
It is not always a good idea to sed xml file, howeversed -i -e 's:</sellingStatus>::g' -e 's:<sellingStatus>::g' file.xmlsubstitute command in sed can be delimited by arbitrary char. (here :  )