Trying to check for < or > in the user input in javascript. any idea what the regular expression wud be? This regex does not seem to work
var spclChar=/^[<>]$/;
if(searchCriteria.firstName.match(spclChar)){
return true;
}else {
return false;
}