^start of line
.*any character (except for line terminators), repeated any number of times
\/the literal / (4710 / 578 / 2F16)
+matches at least one character from the set below:
a-zone character from a (9710) to z (12210) (case sensitive)
0-9one character from 0 (4810) to 9 (5710)
.*any character (except for line terminators), repeated any number of times
\.the literal . (4610 / 568 / 2E16)
jpgthe literal text jpg (case sensitive) $end of line
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string