In this work, we investigate the quasinormal frequencies of a class of regular black hole solutions which generalize Bardeen and Hayward spacetimes. In particular, we analyze scalar, vector and gravitational perturbations of the black hole both with the semianalytic WKB method and their time-domain profiles. We analyze in detail the behavior of the spectrum depending on the parameter p/q of the black hole, the quantum number of angular momentum and the s number. In addition, we compare our results with the classical solution valid for p = q = 1.