excludeNumber
A function that excludes only numbers from a string.
It removes all numbers from the input string and returns the remaining characters as they are. It works as the exact opposite of extractNumber, which keeps only numbers.
Code
Interface
typescript
function excludeNumber(value: string): string;
Usage
typescript
import { excludeNumber } from '@modern-kit/utils';
excludeNumber('Hello123 World456'); // 'Hello World'
excludeNumber('전화번호: 010-1234-5678'); // '전화번호: --'