I have the following array
["<h1>Test</h1><h2>Test2</h2>", "<h3>Hello, playground</h3>Testing", "<h3>Test</h3>", "<h2>Main Takeaway</h2>"]
I want to get all the values between <h3> and </h3> as well as <h2> and </h2>. So I want to create an array with the following values
Hello, playground,
Test
Main Takeaway
How do I do that?