Agreed 300+%
If you’re working with a limited set of possible variations, say,file or Category names, or maybe even Discourse table names, then coming up with a working regex is possible.
But if you’re talking about anything that might possibly be entered by anyone into a post, your working regex is much simpler.
It’s
/(.)*/
![]()