Using regular expressions to extract content between a comma and end of line

So, more regex, this time extracting the final value in a row of a csv file. This is one step in a task to convert a csv file into a tsv file This step needs to cope with handling prior columns in the row containing text with comma characters.

// final column in a row capture
const regex = /^.*,\s*(.*)$/g;
regexcode