You searched for: “onychophagia
onychophagia (s) (noun)
The nervous habit of biting one's fingernails; habitual nail biting: "When under tension, his onychophagia was most obvious."

"Trina uses artificial nails to cover up the damage caused by her onychophagia."

"Glen, if you can't control your onychophagia, you will have to be taken an onychophagiologist for treatment."