12-06-2016 04:21 AM
Hi,
I have a string for example: "*(-25)-7+3". I want to seperate all the numbers and math operators into 2 arrays. For the number, I use [-]?[.]?[0-9]+[.]?[0-9]* and it works fine. However, if I use [+-*/] as a second expression, the software will take all the operator signs include the one inside the parentheses (which I don't want). How can I get rid of the minus sign in front of a number inside parentheses? For example, in this case, I would like to get *-+ instead of *--+. Any help is hightly aprreciated.
Solved! Go to Solution.
12-06-2016 07:50 AM
Could you post your VI?
12-06-2016 09:09 AM