Is there any cut command to cut based on a word eg :
171212 16082784 6264 XXX xxxxxxxx Transaction XXXXX abend ABCD. The task has terminated abnormally because of a program check. 16:08:27
I want the output as :
171212 16082784 6264 XXX xxxxxxxx Transaction XXXXX abend ABCD.
How to approach?