How to extract particular text from below string

How to extract text before HCCLAIMPMT from the below text?

Absolute Total C HCCLAIMPMT 040121 CCD/

@sambulkar - Already responded here…