in reply to Re: Help with Multiple line RegEx
in thread Help with Multiple line RegEx
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
|
---|