$HTML =~ s|(.*?[\s\r\n]*)|($_=$1)=~m\.*?\s?$_:""|egs;