Update the replace reg marks with <sup>reg</sup>