I'm guessing you bought one of the big orange and white ones? That's Mitra mitra, and yes, they mainly eat peanut worms. The smaller miter species eat other worms, and would be easier to keep, especially if you have a pretty good sized sand bed.
Cheers,
Don