I have no good regex experience -- its all pretty new and confusing to me. I understand some of the VERY basics, but to do what im looking for...is way past me! I have the following text i would like to parse, pulling out the highlighted section everytime.
Unknown Trap from 192.168.200.35 : Enterprise [1.3.6.1.4.1.6876.4.1] : Specific [3] : Generic [6] : Varbinds [1.3.$
[1.3.6.1.4.1.6876.50.102 =>
/vmfs/volumes/4c8157c9-4cbe22b0-9192-0019b9e2f54d/vm-jetmore/vm-jetmore.vmx]
[1.3.6.1.4.1.6876.2.1.1.2.1 => vm-jetmore]
What i would like to be able to get for each instance this occurs, is just the last part... the vm name (bold section):
[1.3.6.1.4.1.6876.2.1.1.2.1 => vm-jetmore]
But i would want to pull from this area of the code each time, it will always be right after this value 1.3.6.1.4.1.6876.2.1.1.2.1 => ...
Is this possible? Could i have some help in doing this? Thank you so much in advance!