Removed Simple_dom_html and replaced it with regex