I have this long string
/usr/lib/vmware/bin/vmware-vmx -C /vmware/vm-machines/vm-cs-xp-84/xp_pro_english_base.vmx -@ ""
And need to print only this part "vm-cs-xp-84" inside it.
What regex could do that. I know it's doable but not with my limited knowledge. What I would do and want to avoid is multiple splits.
Thanks in advance.
Simon
/usr/lib/vmware/bin/vmware-vmx -C /vmware/vm-machines/vm-cs-xp-84/xp_pro_english_base.vmx -@ ""
And need to print only this part "vm-cs-xp-84" inside it.
What regex could do that. I know it's doable but not with my limited knowledge. What I would do and want to avoid is multiple splits.
Thanks in advance.
Simon