Multiple Paste/Copies counting up

Hi,

I am a beginner I would say. My question is (and I try to explain it as good as possible in English):

Is it possible to multiple-paste a block of html-code, but with “counting up” numbering, like so:

https://pastebin.com/K7kv7qtR

So my goal would be: Pasting this code 50 times! But the filenames of image and thumb should “count up”, like “wedding_002.jpg, wedding_003.jpg”, etc.

Is this even possible? Is it possible with Atom? If not I would appreciate any advice.

This would be so great.

Thank you already for your help.

Kind regards, stay safe

Pragomer

Sounds like the perfect case for any templating language