Extract content from HTML tag

Hello makers!
In an HTML file, how can I extract the content included in a

Content with others tags
tag (or any other opening/closing tag, like Content).
Is there a module ?
Thanks in advance
JC