title: replace parenthesis with negative sign in javascript
body: <p>How do i replace entered value with '-' sign if it has parenthesis.</p>
  
  <p>For example if I give ($100) or (£100) or -$100
   it should take it as -100.00
  Please suggest </p>
  
  <p>My entered value is </p>
  
  <pre><code>enteredValue = window.event.srcElement.value;
  </code></pre>