8.5.12.10. xsubstitute

xsubstitute(text, old_text, new_text, instance_num=None)[source]