remove underscores from each_line and each_match