How do I change this code so that it takes both upper and lowercase of the specific letter?

a) Convert the entire string to lowercase before comparison.
b) Use regular expressions to match both cases.
c) Create a loop to check for both upper and lowercase.
d) Use the string method toLowerCase().