Expanding on theducks answer, to combine the Spans in second example, you could use
Code:
<span class="SmallCaps">(.+?)</span>([\sA-Z]*)<span class="SmallCaps">(.+?)</span>
and replace with
Code:
<span class="SmallCaps">\L\1\E\2\L\3</span>
BEWARE
The trouble using these sorts of regex is when they contain a name or word which has a uppercase letter inside, which would then get converted to lowercase.