Skip to main content

removeSpecialCharacters

A function that removes special characters from a given string.


Code

🔗 View source code


Interface

typescript
function removeSpecialCharacters(value: string): string

Usage

typescript
import { removeSpecialCharacters } from '@modern-kit/utils';

const str = removeSpecialCharacters('H@#!ello, @Wo!@!&@rld!'); // Hello World