s = "<span>Life is short, I use python</span> So <h3>This is Python</h3>"
r = re.search("<span>(.*)</span>(.*)<h3>(.*)</h3>", s)
r.group(0)
'<span>Life is short, I use python</span> So <h3>This is Python</h3>'
r.group(1)
'Life is short, I use python'
r.group(2)
' So '
r.group(3)
'This is Python'