Suppose I have a string "Amar Kulkarni is a Good Boy."
I just want the string between "is an" and "."(a Dot)
I have tried using
import re
finalresults = re.search('is an(.+?).', results)
print(finalresults)
But, it doesn't seems to work out. Help Please.