This is html text in the website, i want to grab
1,000 Places To See Before You Die
You can use strip_tags() for that
strip_tags()
echo trim(strip_tags($e->innertext));
Or try to use preg_replace() to remove unwanted tag and its content
preg_replace()
echo preg_replace('/]*>([\s\S]*?)<\/span[^>]*>/', '', $e->innertext);