The output of my snmpwalk looks like this:
iso.3.6.1.2.1.4.20.1.2.10.0.1.2
The last four digits (in bold) are always an IP address. I cannot seem to create a regex that will give me just the IP address, ie 10.0.1.2
Any help is greatly appreciated! I suck at regex so if an explanation could be included, that would really help.