title: Regular Expression in java and javascript
body: <p>I have an regular expression built in Java.</p>
  
  <pre><code>String expr = "&lt;a.*?id=\"(pres.*?)\".*?&gt;Discharge.*?Medications:&lt;/a&gt;";
  </code></pre>
  
  <p>I want to use same regular expression in Javascript.
  Will it be different or same?</p>