When you find what you are looking for, read the next couple lines and dump the one's you don't want.
while (<>){ if (/name/) { <>; #reads the line of dashes $whatIwant=<>;#grabs the next line "This is What I..." print $whatIwant; } }
In reply to Re: RegEx on more than one line
by pzbagel
in thread RegEx on more than one line
by jmaya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |