title: Regular expression to remove jsessionid from the URL using java
body: <p>I need to remove the jsessionid from the given URL .The jessionid is not in the query part
  for example i have URL like</p>
  
  <pre><code>http://example.com/index.do;jsessionid=XXXXXXXXXXXXXXX?username=example
  </code></pre>