^start of line
.*any character (except for line terminators), repeated any number of times
\/the literal / (4710 / 578 / 2F16)
apithe literal text api (case sensitive) \/the literal / (4710 / 578 / 2F16)
Negative Lookahead(?!.*(?:\.jpg|statistics)$) .*any character (except for line terminators), repeated any number of times
Non-Capturing Group(?:\.jpg|statistics) \.the literal . (4610 / 568 / 2E16)
jpgthe literal text jpg (case sensitive) 2nd Alternativestatistics statisticsthe literal text statistics (case sensitive) $end of line
.*any character (except for line terminators), repeated any number of times
$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