Replace the string with * after some interval in python

join shbcf.ru