In this list:
- image_1.png
- image_1_small.png
- image_2.png
- image_2_small.png
- image_three.png
- image_three_small.png
- antoher_image.png
I would like to match only those images that BEGIN with the word image BUT do not contain the word small.
The regex should then return:
- image_1.png
- image_2.png
- image_three.png
So far I have:
/^image(?!.*small)/m