server validation regular expression case insensitive?
I have a problem trying to understand how server validation with regular expression work.
I need to validate a text form field against a string composed by at least 3 words.
I just created a regex and it works online on some regexp online tools.
Here it is:
It works but it's case sensitive.
How can I change to case insensitive?
These are the strings it should match:
la chiesta di gressoney
La chiesa di Gressoney
LA CHIESA DI GRESSONEY
Chiesa di Gressoney
Chiesa di gressoney
... and other mispelled cases...
Can You help me?