Oh wow amazing, you have really thought of everything Freddy!
I just have one last ask, I don't supposed you think this could work and provide regex to replace the first encounter of a .jpg, without changing the rest.
I am thinking I could perhaps obscure the first encounter of an image .jpg to .xxx (or something else but unique), then remove all image links, and then use replacements to find the obscured image link url, re-introduce the first image back? what do you think? instead of manually copying and re-adding individually.
The cover image is always the first, similar to how you helped me with the brackets regex, instead where i need to keep reapplying a few times depending on how many links i might have, could maybe use a similar techniques here and have it only replace the first .jpg with .xxx or something?
Then i can extract, remove all image, then find .xxx and replace back to .jpg. (well , that's the plan
)