python regex find index of praticular string in string code example Example: py string find regex pos import re re.search('o{3}', 'Python is slooow!').start() # 12