I have been trying to get quotes from post content I have failed to find a perfect regular expression for it. How can I filter them out?
For Example if
get_post_content() returns this below
<blockquote class="wp-block-quote is-style-large"><p>Every body makes me a better person</p><cite>Isakiye Afasha</cite></blockquote> <p>This is a test quote post. I want to do better.</p>
I want to be able to create a function takes in the
get_post_content() and returns an array() which may looks like
[ ["p"=>"very body makes me a better person","cite"=>"Isakiye Afasha"], ... ]