Re Python3
import re
>>> m = re.search('(?<=abc)def', 'abcdef')
>>> m.group(0)
'def'
Proud Penguin
import re
>>> m = re.search('(?<=abc)def', 'abcdef')
>>> m.group(0)
'def'
re.sub(pattern, replace, string)