title: RegEx help: get jsessionid through regex
body: <p>I need to cut out the JSESSION id from cookie values. Basically what I want is in a text like:</p>
  
  <pre><code>foo bar JSESSIONID_TH=ABCDEF; bar foo
  </code></pre>
  
  <p>I want to get ABCDEF through a regex.</p>
  
  <p>I checked <a href="https://stackoverflow.com/questions/10768924/match-sequence-using-regex-after-a-specified-character">Match Sequence using RegEx After a Specified Character</a> and <a href="https://stackoverflow.com/questions/15520344/using-regex-to-get-jsessionid">Using Regex to get jsessionid</a> and currently have this regex:</p>
  
  <pre><code>(?&lt;=JSESSIONID)[^;]+
  </code></pre>
  
  <p>I thought about give me everything between JSESSION and the following ";" as a start. However, this regex is not working. In addition the <code>JSESSIONID_TH</code> can also be <code>JSESSIONID_FC</code> so for either or it should give me the value after the equals sign.
  I appreciate any help and idea.</p>
  
  <p>Best regards,</p>
  
  <p>Dennis</p>