lrr81765
asked on
Regex help
Ok, new to regex and trying to figure this one out:
sum(one+two+three+four)
I want to get matches for one,two,three,four
Thanks.
sum(one+two+three+four)
I want to get matches for one,two,three,four
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
@matches = /(one).(two).(three).(four
Or to make it more generic
@matches = /\((\w+)\+(\w+)\+(\w+)\+(\