code: def tmpl_replchars(text, replace, chars):
          
          for char in chars:
              text = text.replace(char, replace)
          return text
docs: * synopsis: ``%replchars{text,chars,replace}``
          * description: Replace the characters “chars” in “text” with \
              “replace”.
          * example: ``%replchars{text,ex,-}`` > ``t--t``