I need assistance in removing characters that are not associated with any HTML tag, CSS id or class. Specifically, I want to eliminate the "--" from the provided code snippet below. Can someone please guide me on how to achieve this?
<span class="price">
<span class="woocommerce-Price-amount amount">
<span class="woocommerce-Price-currencySymbol">$</span>12.05</span>
--
<span class="woocommerce-Price-amount amount">
<span class="woocommerce-Price-currencySymbol">$</span>19.36</span>
</span>