regex = "<table\\s+class=\"sourceCode[^>]+>.*?</table>"-

And mind the sneaky single "-" ... it doe not belong there ;-)