street addres parsing problem.. pease help me with this
<ol>
<li>The Context<br>
While doing any online transaction the address of the user is mandatory. Rather than entering street name, locality, State etc, as separate fields, the better way to get the address is that you can ask the user to enter the complete address in one field. What the merchant will require would be the exact address with different fields like street, locality, city, zip code etc. </li>
<li>The Problem<br>
You will be given an address in a string, you need to parse the address from the string and return the structure Address. </li>
</ol>

<p>Signature: Address parseAddress(String address)<br>
Input: String with address(e.g. “Lunkad Tower, 6th floor, \r\n Viman Nagar, \r\n Pune 411014")<br>
Output: The structure Address </p>

<pre><code>public class Address  
{  
    public string Street {get;set;};  // Lunkad Tower, 6th floor  
    public string Locality {get;set;};  // Viman Nagar  
    public string City {get;set;};  // Pune  
    public string State {get;set;};  // MH, Maharashtra  
    public string PostalCode {get;set;}; // 60611  
    public string Country {get;set;};  // e.g. India, IN  
}
</code></pre>

<p>Expected Output:<br>
We want your application to parse all the given addresses in the attached input file. The output should be in a text file containing all the parsed addresses, where each parsed output address is in the following format:</p>

<pre><code>Street|Locality|City|State|PostalCode|Country
</code></pre>

<p>Each address output should be in a new line. <br><br>
In case any of the address field is missing, leave the space blank between the “|” (pipe) separators. Don’t remove the pipe separators.   <br>
For example, if State is not mentioned in the input string, the output should be:</p>

<pre><code>Street|Locality|City| |PostalCode|Country
</code></pre>
