Get text from html

Job ID: 35064773

Budget: $115 – $200 HKD

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