// Replacing all non-alphanumeric characters with empty strings 
strLine = strLine.replaceAll("[^A-Za-z]", " ");
				
// Replacing multiple spaces with single space
strLine = strLine.replaceAll("( )+", " ");