Home > rc-js-util > regexEscapeRegex
Escapes RegExp special characters in strings.
Signature:
export declare function regexEscapeRegex(value: string): string;
Parameter | Type | Description |
---|---|---|
value | string |
Returns:
string
The escaped string.
See regexEscapeRegex().