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