title: regexp in js(jquery) reverse googlemaps url
body: <p>Just what to know how to use regexp to get the zoomLevel,Latitude &amp; Longitude from a raw googlemaps link.
  The idea is that I just put the raw googlemaps v3 link in my cms, my problem is to use this link when I need to present it on my cms page with a custommarker. Need some reverse parsing of the gmap link.  </p>
  
  <p>All inputs are appreciated. </p>
  
  <p>The raw google link is this: ( would like the zoomLevel,Latitude &amp; Longitude somehow - perhaps with regexp )
  <a href="https://maps.google.com/maps?q=barcelona+spain&amp;hl=en&amp;ll=41.385052,2.184906&amp;spn=0.336927,0.883026&amp;sll=57.029521,9.933014&amp;sspn=0.488772,1.766052&amp;t=h&amp;hnear=Barcelona,+Province+of+Barcelona,+Catalonia,+Spain&amp;z=11" rel="nofollow">https://maps.google.com/maps?q=barcelona+spain&amp;hl=en&amp;ll=41.385052,2.184906&amp;spn=0.336927,0.883026&amp;sll=57.029521,9.933014&amp;sspn=0.488772,1.766052&amp;t=h&amp;hnear=Barcelona,+Province+of+Barcelona,+Catalonia,+Spain&amp;z=11</a></p>
  
  <p>so the answer :</p>
  
  <pre><code>str= 'the googlemaps link';
  zoomRegex= str.match(/&amp;z=([^&amp;]+)/);
  zoomlevel = zoomRegex[1];
  
  var ll = new Array();
  LatLongRegex= str.match(/&amp;ll=([^&amp;]+)/);
  LatLong = LatLongRegex[1];
  ll = LatLong.split(',');
  
  console.log("lat:" + ll[0]+ ", long:" + ll[1] +" - Zoomlevel:"+zoomlevel);​
  </code></pre>
  
  <p>Think this is it THANKS. 
  Does it need improvements ?.</p>