The `-r' option of GNU sed must be used to make sed interpret REs as EREs.
[^",]* matches an unquoted field while
"[^"]*" matches a quoted one.
To extract the 3rd field, first we have to write an RE to match the entire record;
then discard all except the 3rd field by replacing the entire record with
the 3rd field.
To facilitate reading the RE used in Step [1], we divide it into three parts: