import re
word = 'testing:  '
word = re.sub(r'[a-zA-Z]+:', r'"\g<0>"',word)
print(word)