def NormalizeSeps(source, format, standard=' '):
    """ Normalize various separators matching format to standard value. """
    from pijnu.generator.pijnuParser import format as formatPattern
    formatNode = formatPattern.parse(format)
    pattern = eval(formatNode.value)
    result = pattern.replace(source, standard)
    return result
