Here's why:
* "Hereof" is archaic: While technically correct, "hereof" is rarely used in modern English. It sounds stiff and formal.
* "Highly regretted" is formal: This phrase is more common in formal written communication.
Here are some better ways to express the same sentiment:
* "We sincerely apologize for any inconvenience this may cause." (More direct and modern)
* "We regret any inconvenience this may cause." (More concise and still polite)
* "We apologize for any trouble this may cause." (More casual)
The best choice will depend on the context and tone of your communication.