@bytebury/sauce - v1.13.0
    Preparing search index...

    Function alphanumeric

    • Returns a copy of the given string with all non-alphanumeric characters removed, except for spaces. Letters and digits are preserved regardless of case.

      Parameters

      • text: string

      Returns string

      This is null | undefined safe. If you pass null | undefined then this will return "".

      alphanumeric(null); // ""
      alphanumeric("Hello, World!"); // "Hello World"
      alphanumeric("123@#Test"); // "123Test"