server validation regular expression case insensitive?
Hello Ray,
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:
/^(la)?\s*chiesa\s*di\s*gressoney\s*$/
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?
TIA
tony


Where are you adding the regular expression? Is this client or server validation? 
