If you want, for example, delete all styles tag within several html in an epub file, keeping only the stylesheet linked in them, you can use this command:
<style type="text/css">(.|\n)*?<\/style>
Calibre editor in this case is better than Sigil, for epub files.