http://www.perlmonks.org?node_id=1047481


in reply to Re: Regex Issue
in thread Regex Issue

Would that work if there were multiple instances of ID: 3?

Replies are listed 'Best First'.
Re^3: Regex Issue
by CountZero (Bishop) on Aug 01, 2013 at 17:42 UTC
    Why don't you try it?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics
Re^3: Regex Issue
by 2teez (Vicar) on Aug 01, 2013 at 17:47 UTC

    Hi bluesplay106,
    You wouldn't break a thing by trying out the solution you have been given by choroba. Change some of the ID given in that solution to 3 and try it out.

    If you tell me, I'll forget.
    If you show me, I'll remember.
    if you involve me, I'll understand.
    --- Author unknown to me