#!/usr/bin/python
import re
m = re.findall("abc", "aaabcaabcaec")
print m
m = re.findall("\d\d\d", "acv3dkf444ee2")
print m
m = re.findall(r"<div>(.*)</div>","<div>hello</div>" )
print m
m = re.findall(r"<div>(.*?)</div>", "<div>hello</div><div>world</div>")
print m
import re
m = re.findall("abc", "aaabcaabcaec")
print m
m = re.findall("\d\d\d", "acv3dkf444ee2")
print m
m = re.findall(r"<div>(.*)</div>","<div>hello</div>" )
print m
m = re.findall(r"<div>(.*?)</div>", "<div>hello</div><div>world</div>")
print m