Regular expression substitution in Python,"line = re.sub('\\(+as .*?\\) ', '', line)"