replace long html string with new html string??

replace long html string with new html string??

What's the most best way to do this??
Make the 1st string become the 2nd string??
I don't think any of the DOM manipulation functions would do this??

Actual 1st string:
  1. <span class="Required FormFieldRequired" style="visibility: visible">*</span> <span class="FormFieldLabel">Email Address:</span>

Desired 2nd string:
  1. <span class="FormFieldLabel">Email Address:</span> <span class="Required FormFieldRequired" style="visibility: visible">*</span>

I know it's string manipulation but I can't think what to use...
If I can get this working for the above then I can do likewise for several more form labels.
Basically it's putting the span containing the asterisk at the end of the string instead of at the beginning.

Thank you, Tom