How do I make a check for an existing record Not case sensetive

How do I make a check for an existing record Not case sensetive

 If I'm checking to see if a record trying to be entered already exists, how do I make ignore the case? The code below works for checking my records, but if a user doesn't capitalize their entry, it gets added to the table/form.

if (count(Region[RegionName == input.New_Region])  >  0)
{
    alert(("This Region already exists, please select from the list above"));
    input.New_Region = "";
}