title: Python regex extract a string between two strings
body: <p>I have a string showing as </p>
  
  <pre><code>text = "isLogIn=true; Max-Age=400; Path=/; Expires=Wed, 25 Sep 2019 17:46:30 GMT, value=qasde% , client=retail"
  </code></pre>
  
  <p>I need to extract the string showing for value, ie qasde%. I am using Python scripting</p>
  
  <p>What i tried was </p>
  
  <pre><code>text = text.split('value', 1)[1]
  text = text.split('client',1)[0]
  </code></pre>
  
  <p>It gives me the correct value, but is there any simple way to achieve this ?</p>