I'm looking for a way to replace the text
print("This is a test")
by
print("**************")
i.e. i want to overwrite every character of a text object (the string inside quotes) or up to a movement command by the same replacement character (asterisk in this case).
What would be the quickest/easiest way to do that?