Expressing your regret in person is usually more successful because it demonstrates your sincerity and enables direct connection. If you can't meet in person, a sincere apology message might still express your regret.