Hi All,My customer has asked to validate the file extension supported by Browse field with case insensitive file extensions.I have used the following regex - "^.+\.((jpg)|(gif)|(jpeg))$; however it is not accepting the extns as JPG or GIF.Any pointer or suggestion to accept all case extns like GIF, Gif, giF, gif.Thanks.
"(?i)\.(jpg|gif|jpeg)$"
"\.(jpg|JPG|gif|GIF|jpeg|JPEG)$"
I'm not sure if it will work - but try something like this:"(?i)\.(jpg|gif|jpeg)$"If that doesn't work - you're stuck doing:"\.(jpg|JPG|gif|GIF|jpeg|JPEG)$"Ugly - but it works...