Find a regular expression that splits a string with a comma at the end

find a regular expression that is divided by, and cannot end with a comma

Mar.05,2021

^[^,]+(?:,[^,]+)*$

View matching results

Menu