ANOVA allows us to see if differences in the variable of interest between groups are due to chance, or if there is a significant group effect. It tells us very little about the nature of that relationship. All we know is whether a significant difference exists between groups.
Regression gives much more information. It tells us if there is a difference, where the differences lie, and we can predict to what degree the group causes changes in the dependent variable.