Friday, 9 August 2013

Condition String regex

Condition String regex

I'm trying to build the right regex to parse string like:
num1 > 3 and num3 < 8 or st == 'dada'
and getting in a list only the var names: [num1, num3, st]
1.the signed could be - ><= 2.var names could contain numbers.
can some one help me or give me advice?
thanks in advance.

No comments:

Post a Comment