I need to check the url is image url or not? How can i do this?
Examples :
http://www.google.com/
is not an image url.http://www.hoax-slayer.com/images/worlds-strongest-dog.jpg
is an image url.https://stackoverflow.com/search?q=.jpg
is not an image url.http://www.google.com/profiles/c/photos/private/AIbEiAIAAABECK386sLjh92M4AEiC3ZjYXJkX3Bob3RvKigyOTEzMmFmMDI5ODQ3MzQxNWQxY2VlYjYwYmE2ZTA4YzFhNDhlMjBmMAEFQ7chSa4PMFM0qw02kilNVE1Hpw
is an image url.