S
si
hi all, i had a regex question for the group:
i'm trying to do parse a string 'a = 3 b = 4 c = 5 d = 6'
and would like to extract an array of pairs of values
ie: myArray(a) = 3
myArray(b) = 4
myArray(c) = 5 etc
one complication is that i don't know how many pairs of values will be
in the original string
any idea of how I can do this with regex?
i'm trying to do parse a string 'a = 3 b = 4 c = 5 d = 6'
and would like to extract an array of pairs of values
ie: myArray(a) = 3
myArray(b) = 4
myArray(c) = 5 etc
one complication is that i don't know how many pairs of values will be
in the original string
any idea of how I can do this with regex?