http://qs321.pair.com?node_id=301698


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 + );