if I have a file conatining the following:

1555009 1555001 1555008 1555021 1465010 1465006 1465005 1465004 1465003 1465002 1465001 1465008 1465022 Ring 16 Size 11 1555001 1555001 1555001 1465001 1465001 1465001 1465001 1465001 1465001 1465001 1465001 .. H22 -- N8 -- H21 .. O10 == C6 -- C5 -- C4 -- C3 -- C2 -- C1 == O9 1555022 1555008 1555021 1465010 1465006 1465005 1465004
1465003 1465002
1465001 1465009
Initial graph set matrix : period 1 patterns
1 2 3 4
----------
C 1, 1( 9) C 1, 1( 4) C 1, 1( 9) C 1, 1( 4)
----------
Initial graph set matrix : period 2 patterns
1 2 3 4
----------
C 2, 2(13) R 2, 2( 8) C 2, 2(13)
----------
C 2, 2(11) C 2, 2(13) R 2, 2(18)
----------
C 2, 2(18) C 1, 2(11) C 2, 2(13)
----------
C 1, 2(11) C 2, 2(18) C 2, 2(11)

how can I tell perl to just read the following pattern (can have any letters or numbers) /C1, 2(11)
do i need to use grep ?
cheers harry

In reply to reading certain lines by harry34

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.