I am trying to identify which posts on a wordpress installation contains empty paragraphs, I found one manually and clicked “edit”, this is what I see:

So then I tried a query like:
SELECT *
FROM `wp_posts`
WHERE `post_content` LIKE '%<p> </p>%'
No results returned, and "<p> </p>" is copy pasted manually from that row I found. I’ve also tried REGEXP with a pattern like this :
#<p[^>]*>(\s| ?)*</p>#
But still got no results back, what can I do to find those empty paragraphs?
Why are you searching on
post_titleinstead ofpost_content?Should work. If you want to use
REGEXPand allow for paragraphs with in them: