I have a rule that will get the extension of every file from the url. I need to match all jpg, gif, png and bmp files. This is for a watermark application. Currently, it only matches jpg and Jpg. Can someone help me match all four extensions?
Here is what I currently have so far.
RewriteRule ^(.*\.[jJgG].*)$ /test.php?i=$1