import re
text = 'ABC abcabc fff abcabcabc'
print( re.findall(r'(?:abc)+', text, flags=re.I) )
