escapeRegExp
Escapes the RegExp
special characters ^
, $
, \
, .
, *
, +
,
?
, (
, )
, [
, ]
, {
, }
, and |
in a string.
Escapes the RegExp
special characters ^
, $
, \
, .
, *
, +
,
?
, (
, )
, [
, ]
, {
, }
, and |
in a string.