How to make selectors ignore case sensitivity?

The only thing with this solution is that because the username is in a table and I do not know the row number, I will have to cycle through the whole table.

I know this way will work, but is there a way to do this while avoiding a loop through the whole table?