<div dir="ltr">(IANARC - I am not a ruby coder), here's another attempt:<div><br></div><div> resp = Base64.decode64(elem.text)<br> 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*(?:(?:"[^"]+")|(?:[^,]+)))<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> response = {}<br> resp<span class="Apple-style-span" style="font-family: -webkit-monospace; font-size: 14px; white-space: pre; ">.captures</span> do |kv|<br> k, v = kv.split('=',2)<br> v.gsub!(/^"(.*)"$/, '\1')<br>
<br> response[k] = v<br><br> 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>