```
str1 = abdk3<h1>The content we need</h1>aaaaabbb<h2>The content we need2</h2>

```

We need the contents inside the h1 tag and h2 tag.

What is the best way to do that? Thanks

Thanks for the help!