Test, validate and match regular expressions
Matches URLs pointing to image files with extensions jpg, png, bmp, or jpeg. Accepts optional http(s) protocol and www prefix, followed by domain segments, path components, and the required image extension. Useful for validating image links in user input or extracting image URLs from text.