UnDP has transformation "parse" which allow to use regular expressions during transformation of results obtained by SNMP.
Universal Device Poller - Define what should be calculated by the transform
SNMP Monitor in SAM has similar list of transformations but with out this one.
Available data transformations
It will be very usefull, please add it :-)