Hi All, I have a file something like this:
Experiment: rs5443-61902_923_922_921_291008 Active filters: FAM (483-533), VIC /HEX / Yellow555 (523-568)
Include Color Pos Name 483-533 523-568 Call Score Status
True 3200768 A1 EPS316120 8.535 17.575 GG 0.90
True 3200768 A2 EPS318077 8.820 17.126 GG 0.95
True 255 A3 EPS316121 17.084 13.650 GA 0.97
True 3200768 A4 EPS318078 8.541 16.653 GG 0.94
True 16744448 A5 EPS316122 18.267 3.880 AA 1.00
True 255 A6 EPS318079 13.130 11.004 GA 0.91>br> True 3200768 A7 EPS316123 9.150 16.868 GG 1.00
True 3200768 A8 EPS318080 9.346 17.771 GG 0.97
True 3200768 A9 EPS316124 9.205 17.201 GG 0.98
True 3200768 A10 EPS318081 9.729 17.934 GG 1.00
Other than the first line ("Experiment:") all the other are tab delimited.

I have to split the "Experiment: rs5443-61902_923_922_921_291008 Active filters: FAM (483-533), VIC /HEX / Yellow555 (523-568)" line.

I would like to parseout rs5443, 61902 and the 291008.This could vary in each file. And then has to parse through the entire file and get the rest uploaded to the database. I feel the rest is not a problem. But being a 'newbee' to perl I cant find a redundant way to do get the first line parsed. Could any one give me some suggestions/directions how to get them parsed.

Thanks for all in advance.

In reply to Regular expression by Anonymous Monk

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.