python regex for repeating string
- by Lars Nordin
I am wanting to verify and then parse this string (in quotes):
string = "start: c12354, c3456, 34526;"
//Note that some codes begin with 'c'
I would like to verify that the string starts with 'start:' and ends with ';'
Afterward, I would like to have a regex parse out the strings. I tried the following python re code:
regx = r"V1 OIDs:…