mirror of
https://github.com/vastxie/99AI.git
synced 2025-11-14 04:33:41 +08:00
NineAI 2.4.2
This commit is contained in:
7
dist/common/utils/removeSpecialCharacters.js
vendored
Normal file
7
dist/common/utils/removeSpecialCharacters.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.removeSpecialCharacters = void 0;
|
||||
function removeSpecialCharacters(inputString) {
|
||||
return inputString.replace(/[^\w\s-]/g, '');
|
||||
}
|
||||
exports.removeSpecialCharacters = removeSpecialCharacters;
|
||||
Reference in New Issue
Block a user