Renaming files to text string between two words

Hello,
I need to rename a batch of files to fit with a string between two words. The number of words between the two delimiting words can vary. Is there a way of getting Hazel to rename to all the words between 'Reference: [string] Post:'?
Thanks for your help
I need to rename a batch of files to fit with a string between two words. The number of words between the two delimiting words can vary. Is there a way of getting Hazel to rename to all the words between 'Reference: [string] Post:'?
Thanks for your help