I am trying to do some data cleaning in perl. My data looks like this thousand of lines that look like this.
Line 1:programme US$30 million secured floating due 2010 Line 2:£1.15 bil 5.54% A-1 Sr Secd nts due 03/31/2031 Line 3: EUR900 mil fltg rate Tranche A nts due 10/06/2005 line 4: CP prog Rule 144A
etc....
I am trying to break the above sentence into

EUR900 mil in one column

mil fltg rate Tranche A nts in a second column

and

10/06/2005 in a third column.

Can you please advise me on how this can be done? Thank you very much

CODE tags added by Arunbear


In reply to Using perl to break up sentences in rows into Separate columns by mariah

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.