Deputies say a man texted a woman he was going to kill her, and then hid outside her home and waited for her to come out.
Neil Rager of Hubert is charged with assault with a deadly weapon with intent to kill inflicting serious injury, secret assault and communicating threats.
Onslow County deputies say when the woman came outside, Rager hit her on the head with a 2x4 and tried to stab her with a knife. The woman was able to take the knife away from her attacker.
The 38-year-old Rager is in jail on a $100,000 bond.