It's already a math expression, isn't it? If you mean "how do I calculate the value of this string that represents a math expression" then you may want to look at the Shunting Yard algorithm.