I would like to extract static text from between HTML tags:
<p>
text here
<span> text here <b>too</b></span>
</p>
I have this regular expression so far:
(<|<)[\s\/\?]*(\w+)(?<attributes>.*?)[\s\/\?]*(>|>)(\n|.)*?<\/\2>
I don't want to use HTML parser. Any help. Thanks!!