Help for this page
use strict; use warnings; ... next if $str !~ /Servername\s+(\w+)/; print "Matched: $1\n"; }
Matched: DBServer