Looking to identify the presence of < or > in user input using JavaScript. Anyone have a suggestion for the regular expression to use? The current regex is not functioning as expected.
var spclChar=/^[<>]$/;
if(searchCriteria.firstName.match(spclChar)){
return true;
}else {
return false;
}