Javascript – Regex – How to capture Markdown H2 title and content in two named capture group
Hi i have a markdow text like the one below and i want to slice it in H2 tilte, H2 content ## **Intro** * bla bla * bla bla bla ## Tortilla * chico * chica ### 1. sub-section *…