Is there a more pythonic way than doing:
parsedStr=origStr[compiledRegex.match(origStr).start():compiledRegex.match(origStr).end())
For exampile assume my original string is "The cat said hi" and my compiled regex is "The.*said" I would pull the text "The cat said"
The above code looks ugly but that's how i've been doing it