1. Neil wishes he hadn't sold the car.
-> Neil regrets having sold the car. (Regret + V-ing)
2.He couldn't come to the party because of his illness.
->His illness prevents him from coming to the party. ( Ngăn chạn ai đó làm việc gì: prevent so from doing sth)