With JavaScript RegExp search a vertical tab character.

To find a vertical tab character with JavaScript Regular Expression, use the following −



You can try to run the following code to find a vertical tab character. It returns the position where the vertical tab (\v) character is found −

      <title>JavaScript Regular Expression</title>
         var myStr = "Secure and \v Responsive!";
         var reg = /\v/;
         var match = myStr.search(reg);