I am using this regular expression pattern "test(.*?\\.jpg)" in order to get the address to a JPG file out of a string . They all start with test...
Now I am facing following problem. Some of the links are ending with .JPG instead of .jpg.
How do I have to extend my regular expression to match .jpg and .JPG?