Regex to parse input columns