Python match and return string in between

Posted by Peter S. on Stack Overflow See other posts from Stack Overflow or by Peter S.
Published on 2010-04-30T04:33:02Z Indexed on 2010/04/30 4:37 UTC
Read the original article Hit count: 167

Filed under:

I have

stringA = "xxxxxxFoundAaaaaaaaaaaaaaaFoundBxxxxxxx" stringB = "FoundA" stringC = "FoundB"

How do I do a regular expression in python in order to return aaaaaaaaaaaaaa?

Please help. Thanks in advance.

© Stack Overflow or respective owner

Related posts about python