title: Regex to extract long hexadecimal string
body: <p>I want to extract with a regex the value after ajaxBrowserNavigationCheck('&amp;x and before the = from the following javascript code: </p>
  
  <pre><code>if (ajaxBrowserNavigationCheck('&amp;x909ef93d-61ac-4311-ac56-20c2ae9770f5=7ebdc2a4-df58-4c1c-9b50-96964c93e927', '', 'servletcontroller', '')){
      processBrowserNavigationButton();
  </code></pre>
  
  <p>Basicly teh value I want to extra are <strong>&amp;x909ef93d-61ac-4311-ac56-20c2ae9770f5</strong> (the value before the = and we need the &amp;x)
     and <strong>7ebdc2a4-df58-4c1c-9b50-96964c93e927</strong> (the value after the =) </p>
  
  <p>Note that the value is there twice (its after MODE=BROWSER_NAV)
    Note that both value have 36 char without the &amp;x
    the &amp;x is always there for the first string
    My reg ex is a bit rusty here what I got so far:
  <strong>(&amp;x([0-9a-fA-F]|-)+)</strong> get me the first part </p>
  
  <p><strong>(&amp;x([0-9a-fA-F]|-)+)|(=([0-9a-fA-F]|-)+)</strong> get me both but with the = we don't want it... </p>
  
  <p>Edit: Sorry that I forgot the language, it's for a jmeter script which use jakarta ORO.</p>
  
  <p>Edit2: I realize I can split those in two variable or even in three in jmeter that make it a bit easier. </p>
  
  <p>Edit3: I removed the window location part because it was misleading since it was the same in the ajax part. 
  in <em>ajaxBrowserNavigationCheck('&amp;x909ef93d-61ac-4311-ac56-20c2ae9770f5=7ebdc2a4-df58-4c1c-9b50-96964c93e927', '', 'servletcontroller', ''))</em>
  we want <strong>&amp;x909ef93d-61ac-4311-ac56-20c2ae9770f5</strong> and <strong>7ebdc2a4-df58-4c1c-9b50-96964c93e927</strong></p>