how to check case sensitive in javascript code example
Example: js ignore case
var str = "Visit W3Schools!";
var patt1 = /W3S/i;
var res = patt1.ignoreCase
var str = "Visit W3Schools!";
var patt1 = /W3S/i;
var res = patt1.ignoreCase