I’ve googled and understand that there’s this .equalsIgnoreCase() for java. Is there something similar to this for wix code?
Yes, you can do like this:
@certified-code Thanks for the link! From your link, I found something closer to what I’m looking for.
https://www.w3schools.com/Jsref/jsref_regexp_i.asp
However, the example they’ve given is by specifically typing the string…
var str = “Visit W3Schools”;
var patt1 = /visit w3schools/i;
var result = str.match(patt1);
How should I do a case insensitive search if I’m trying to find a match between a user’s input and a database field?