Resolves issue Bad fomatting #19

Replaces everything except spaces and new lines with an empty string