looking for help applying a regex function that finds a string that starts with 5 and is 7 digits long.
this is what i have so far based on my searches but doesn't work:
import re
string = "234324, 5604020, 45309, 45, 55, 5102903"
re.findall(r'^5[0-9]\d{5}', string)
not sure what i'm missing.
thanks