how to remove "style=" attribute?

how to remove "style=" attribute?

Assume I have a web page which contains multiple elements similar to

  1. <span style="font-size: medium;">....</span>

How can I remove the "style=" attribute for all the elements?

The element <span> itself should still persist

Peter