I am getting URLs like this:
http://img23.example.com/images/j43j32k3.jpg
And I need to identify whether it both:
a) Begins with HTTP
b) Ends with JPEG, JPG, GIF or PNG
I am using Ruby to do the matching I just don't know the Regex for this one..