special-characters-remove
v1.0.4
Published
Remove the special character from the give string.
Downloads
9
Maintainers
Readme
special-characters-remove
Remove special characters from string.
Install
$ npm install special-characters-remove@latest
Usage
import { removeSpecialCharacter } from "special-characters-remove/dist/index.js";
let x = removeSpecialCharacter("Hello, World! !> My life < my @rules");
console.log(x);
//=> 'Hello World! ! My life my rules'
You can use this to remove the spacial characters from string that is inserted into the middle, start or any part of string, for example, into a character class.