DocumentationSapphire Utilities@sapphire/utilitiesFunctionsregExpEscOn this pageFunction: regExpEsc() regExpEsc(str: string): string Cleans a string from regex injection Parameters ParameterTypeDescriptionstrstringThe string to clean Returns string Defined in regExpEsc.ts:7