<div dir="ltr">(IANARC - I am not a ruby coder), here&#39;s&nbsp;another attempt:<div><br></div><div>&nbsp; &nbsp;resp = Base64.decode64(elem.text)<br>&nbsp; &nbsp;resp = resp<span class="Apple-style-span" style="font-family: -webkit-monospace; font-size: 14px; white-space: pre; ">.match(/<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; font-size: 13px; white-space: normal; ">(\w+\s*=\s*(?:(?:&quot;[^&quot;]+&quot;)|(?:[^,]+)))<span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-monospace; font-size: 14px; white-space: pre; ">/)</span></span></span></div>
<div><br>&nbsp; &nbsp;response = {}<br>&nbsp; &nbsp;resp<span class="Apple-style-span" style="font-family: -webkit-monospace; font-size: 14px; white-space: pre; ">.captures</span>&nbsp;do |kv|<br>&nbsp; &nbsp; &nbsp; &nbsp;k, v = kv.split(&#39;=&#39;,2)<br>&nbsp;&nbsp; &nbsp; &nbsp; v.gsub!(/^&quot;(.*)&quot;$/, &#39;\1&#39;)<br>
<br>&nbsp; &nbsp; &nbsp; &nbsp;response[k] = v<br><br>&nbsp; &nbsp;end<br><br>-- <br>- Norman Rasmussen<br> - Email: <a href="mailto:norman@rasmussen.co.za">norman@rasmussen.co.za</a><br> - Home page: <a href="http://norman.rasmussen.co.za/">http://norman.rasmussen.co.za/</a><br>

</div></div>