in plugins/regex_replace/regex_replace.py [0:0]
def regex_replace(s, find, replace): return re.sub(find, replace, s)