RegExp to validate a formula (string/boolean/numeric expression)?

Posted by JSteve on Stack Overflow See other posts from Stack Overflow or by JSteve
Published on 2010-05-25T17:41:01Z Indexed on 2010/05/25 18:01 UTC
Read the original article Hit count: 239

Filed under:

I have used regExp quit a bit of times but still far from being an expert. This time I want to validate a formula (or math expression) by regExp. The difficult part here is to validate proper starting and ending parentheses with in the formula.
I believe, there would be some sample on the web but I could not find it. Can somebody post a link for such example? or help me by some other means?

© Stack Overflow or respective owner

Related posts about regex