intent: How to find and replace nth occurence of word in a sentence using python regular expression?
rewritten_intent: find and replace 2nd occurrence of word 'cat' by 'Bull' in a sentence 's'
snippet: re.sub('^((.*?cat.*?){1})cat', '\\1Bull', s)