capture description without trailing newline characters using a regular expression