>>> re.match('<(?:span|div) id="insert"(?:\s+/)?>(?:.*(?:span|div))?',text) >>> text '
23:45Genug fuer heute...