XF 2.2 gif URL automatically put into [img] tags?


Active member
I was hoping to use the bbcode manager to create something where if any url with the .gif extension were to be posted, it would automatically put it in tags.

For example if I were to put:

And post it, it would automatically make it into [img]https://c.tenor.com/30fWXW0ATzAAAAAM/dab-animated.gif

Any idea how I can achieve this? If anyone can make this into an addon that would be great too... I can pay.