in reply to Re: RegEx advice needed
in thread RegEx advice needed
This is getting ugly. This uses your code to work for the given example. I don't know if this is what you really want though.
push @array, $1 if ( /(?<!Hardware)(?=\s+Version:?\s*([^\s;,\n\r]+))/i + );
|
---|
In Section
Seekers of Perl Wisdom