For fingernails it can take up to 6 months for the fingernail to grow back after being ripped off and for toenails it can take 18 months or longer to see your toenail grow back.
Fingernails and Toenails grow back slowly but they will eventually grow back.