Tweakr
    Preparing search index...

    Function removeNumbers

    • Removes all numeric digits from a string.

      Parameters

      • input: string

        The string to process.

      Returns string

      The string without digits.

      removeNumbers("abc123"); // "abc"
      removeNumbers("2025 is the year"); // " is the year"

      1.2.0