Answers for "regex match caret"

0

regex match caret

new RegExp("\\^","gi");
/* '\' is used as an escape character, so you first escape '^', then you
escape '\' itself */
Posted by: Guest on April-07-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language