Customization on Linking Communication

Hello Team,

We have a requirement where we need to make some customization on linking of communication to the transactions.

When adding a link from Communication doctype to the reference doctype. We want to add a validation as only communications with specific text in the Subject should be linked to transaction.

Do let me know if anyone has any clue on the requirement.

Thanks in advance