(?s)
.
*?
(
images
.
*?
jpg
)
.
*?
Options: ^ and $ match at line breaks
Match the remainder of the regex with the options: dot matches newline (s)
Match any single character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match the regular expression below and capture its match into backreference number 1
Match the characters "images" literally
Match any single character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)
Match the characters "jpg" literally
Match any single character
Between zero and unlimited times, as few times as possible, expanding as needed (lazy)