ONE Community Forum
We have a case where a client is sending files with both lower and upper case ".csv" file extensions. I'd like to know how to match either the whole pattern, or even just the ".csv" portion of the pattern ignoring case.
Prefix your pattern with (?i) to make it case insensitive.
For example if you have file FOO.txt
.*\.TXT => non-match
(?i).*\.TXT => match
Powered by wpForo version 2.2.7