in reply to snmpget regex

This doesn't address your original question but you might want to look at the module Net::SNMP so you can get this stuff directly in Perl

/J\