• Remove characters that appear in the blacklist.

    Parameters

    • input: string
    • chars: string

      The characters are used in a RegExp and so you will need to escape some chars, e.g. blacklist(input, '\\[\\]').

    Returns string

Generated using TypeDoc