Ctrl K replace_regex method replace_regex(self, regex, new_text) Replaces all matches of regular Expression with spec......Replaces all matches of regular expression with specified string. def...The string contains regular expression to get strings to be replaced...