Upload fixed width file and validate if the fixed width format is in the right format in c#
<p>How can i validate a fixed width file dynamically ?</p>

<p>if the user passes it in this way i can read it without any problem</p>

<pre><code>123-45-6789 Nick Sanders 200 300
987-65-4321 Jon  Smith   400 550
</code></pre>

<p>if they give it in the below way how can i validate and read it ?</p>

<pre><code>123-45-6789 Nick Sanders     200 300
987-65-4321 Jon  Smith     400 550
987-65-4321 Jon  Smith   400 550
</code></pre>
