8.5.12.21. xsubstitute

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