multiline input, correct negation for numbers, trim continuous input