title: Split google search address
body: <p>I need to split my address (city and street) from google search bar. I will explain better with the pictures.</p>
  
  <p>Here is picture how google find the address.
  <a href="https://i.stack.imgur.com/pQnBP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pQnBP.png" alt="enter image description here"></a></p>
  
  <p>Here is the picture then I select the first selection from the google search bar.</p>
  
  <p><a href="https://i.stack.imgur.com/DTpkS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DTpkS.png" alt="enter image description here"></a></p>
  
  <p>And the problem is. If I press submit button the address is merged.
  <a href="https://i.stack.imgur.com/4uXFT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4uXFT.png" alt="enter image description here"></a></p>
  
  <p>Here is javascript code, which I am using.</p>
  
  <p>userAddress = $(".pac-container .pac-item:first").text();</p>
  
  <p>I am just taking the first selection and assign it to the search field.</p>