Fix regex searches

The current regexes wasted time and might kill the script on long feeds. There was also a bug with the comment regex being *greedy* and removing content between multiple comments.

One thing to note, this change removes all content (like whitespace or ascii art) before the starting doctype tag (if found).