Currently I have a string where it signifies an expression (i.e., "2+4*8/2") and is there a way to convert this to a regular expression that is NOT a string so it can return 18?
If not, is there a way to detect what kind of operator it is at a given character?
In Java would help.
Thank you.