Perl How to find positions of captures
===

I have a table like this:

     First        Second        Third       Forth
     It               is        possible    to   
     do             this                    task
     with          regex        but         i
     don't          know        how         to 



My task is to capture all words in all lines.   
but here is trouble:  
     words can specified for column.  
     so, in third line `Third` element of Hash{yes, of hash} is empty;  
and propery:  
     words in each line are aligned by column's name beginning or end. (columns' names are words in first line (`First Second Third Forth`))  
     in my example, words are aligned to left (or to beginning of column name) in `First Third Forth` columns and are aligned to right (or to end of column name) in `Second`
     

after capture words in line, i must create another line like this:

`$hash{First} have Second-property $hash{Second}. Also it have $hash{Third} and $hash{Forth}.`
