if ( my $hit= /^-+ show switchname -+/ .. /^\*+/ ) { next if $hit==1 or $hit =~ /e0$/i; # When we're here, it's one of those lines in between # Now do whatever you want with the data.... } <!-- Node text goes above. Div tags should contain sig only --> <div class="pmsig"><div class="pmsig-253915"> <hr><code>$\=~s;s*.*;q^|D9JYJ^^qq^\//\\\///^;ex;print
In reply to Re^2: Help with Multiple line RegEx
by Skeeve
in thread Help with Multiple line RegEx
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |