is regular polygon has 8 side?

no, that's an octagon.

a regular polygon has sides with equal lengths, and also with equal angles. :)