use Data.Text.Lazy and Text.Regex.