I am having a bit of bother trying to come up with a Regex that matches a word followed by an arbitrary number of numbers seperated by a comma.
Basically i'm trying to match strings like 'word13,53,3 until the string reaches any of the binary operators (+,-,*,/,^ etc).
So far i've come up with
which to be honest is a really bad start as it only matches the first number after the word
I tried to put the expression in brackets and use the expression
which worked only that my program always deals with brackets first and removes them after they've been solved for which brings me to the this problem
Any help would be appreciated