Detecting Operation Sign in a String Java : <p>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?</p>

<p>If not, is there a way to detect what kind of operator it is at a given character?</p>

<p>In Java would help.</p>

<p>Thank you.</p>
