Is it possible to extract H2 Headline from {{ page.content }} ? Something like:
{% for tabtitle = regex_filter(page.content, "/(?<=<h2>)(.*?)(?=</h2>)/") %}
{{ tabtitle }}
{% endfor %}
However I would not know how to split up page.content, to make that work. Also
And then get the text between the H2 headlines.
{% for tabcontent in regex_split(page.content, "/<h2>(.*?)</h2>/") %}
{{ tabcontent }}
{% endfor %}
I did not find any examples of that. Any ideas, how I would be able to do that?