10.20.201.20%3A120212 regix in python code example Example: re python3 import re >>> m = re.search('(?<=abc)def', 'abcdef') >>> m.group(0) 'def'