Hello, friend!
You can use the cut command to do it.
olive@bond-pc:~$ cat input.txt
887 12648 active vrm-01 rqxxxxxxxxxxx
xxx xxxxx standby vrm-02 reqyyyyyyyyy
olive@bond-pc:~$ cut -f1 -d- input.txt
887 12648 active vrm
xxx xxxxx standby vrm
Hope this helps!