Get text from html

Job ID: 35331860

Budget: €12 – €18 EUR

I have html. There are many sub element like span tag in each P tag, and they are reversed. They are arranged in flex. I want a complete paragraph from html and make it not inverted
Related categories: JavaScript CSS PSD to HTML HTML5 HTML