title: Parsing short text and extracting address, postal code and full name
body: <p>In application I work on I have to extract some data out of text string which will look like this:</p>
  
  <pre><code>First and last name | postal code | street and street number
  John Smith 80-800 Washington Street 42/a
  </code></pre>
  
  <p>There's a lot of variety in this type of data. For sure users won't use separators correctly in every case.</p>
  
  <p>I am planning to split the process of sms registration to multiple messages. But it might not get accepted.</p>
  
  <p>What would be the easiest way to parse that? What options do I have in parsing such texts? </p>
  
  <p>My idea is to call the database for postal code and if the postal code would be found then it will be a separator for full name and street with address.</p>
  
  <p>If users postal code will be wrong I will send a message which will inform that the format of data he provided is invalid.</p>