fork download
  1. import re
  2.  
  3. s = 'SomeTextSomeTextASomeThingBSomeTextSomeTextASomeThingElseBSomeText'
  4. regex='A.*?B'
  5.  
  6. print re.findall('A(.*?)B', s)
Success #stdin #stdout 0.09s 10840KB
stdin
Standard input is empty
stdout
['SomeThing', 'SomeThingElse']