What does this regular expression mean?

I am doing the Titanic test and found that the meaning of such a code is not quite clear
1 Why is there a number in the first one, please tell me what does it mean
2 Why? + means to repeat what does it mean by using two
3 regular expressions?
Thank you for your answers. Thank you,

.
Mar.18,2021

  1. A comma is a match for a comma.
  2. + means at least one,? Represents at most one
  3. ^. +? If it is a lazy pattern, it matches any character.

comma is not a metacharacter. It should match a ,

.
Menu