Imagine that I have images on Imgbb and I want to transfer them to TalkImg, is it possible?
Forgot to reply this one, sorry.
Yes, you can. I've added a imageLinkRegex variable at the top. It currently matches only imgur links ending with png, jpg, jpeg.
If you want to match ONLY imgbb images, you can use:
/https:\/\/i\.ibb\.co\/.*?\.(png|jpg|jpeg)/gi
If you want to match BOTH imgbb and imgur images:
https:\/\/i\.ibb\.co\/.*?\.(png|jpg|jpeg)|https:\/\/i\.imgur\.com\/.*?\.(png|jpg|jpeg)