Python script for replacing text with multiple characters

You need to read also reply Python script for replacing text with multiple characters by @anon39580149