I am having a function takes a string input. the string input is noting but a group of html tags like below
<section><div><span><bold></bold></span></div></section>
and i want the output to be like below
["<section>","<div>","<span>","<bold>","</bold>","</span>","</div>","</section>"]
guys pls help me how to split the html string to an array