Function escapeRegExp

  • Escape a string for use in a regular expression

    Parameters

    • str: string

    Returns string