Delete all href attribute in WordPress posts

Moving comment to answer:

Did you try adding a delimiter around your regex pattern? That’s what the little note on the bottom of your screenshot says. So for instance, /]>(.?)</a>/ , noting the added slashes. (Since this is replacing stuff in your database, let me say, use at your own risk.)