Hi- We are working on creating a holiday game for children using User Input. The correct answer is to be inputted and then submitted. However, I'm having issues getting the pattern validation regex code to work with case insensitive. We should like the string of text to be accepted in either uppercase, lowercase or a mix of cases.
How would I go about this? I've tried the below options with no success.
^gifts$/i
/^gifts$/i
/^gifts$/ig
and many other combinations.
Appreciative of any help provided!
![](https://static.wixstatic.com/media/a27d24_6abec9b068734592bfbde7812758362f~mv2.png/v1/fill/w_980,h_509,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/a27d24_6abec9b068734592bfbde7812758362f~mv2.png)
Do you got it working? :D
Hi,
Check out this discussion about creating case insensitive regex.