sed command to remove all in between something including that something on a file
something
#!/bin/bash sed -i.bak -rn ':a;N;$!ba;s/<match docker\.all(.*?)<\/match>//gp' /etc/fluent/fluent.conf