Regeneration is a keyword in Artifact.
Regeneration applies at the same time combat damage is dealt. You subtract the amount of Regeneration from the amount of combat damage dealt.
Regeneration does not apply to any other source of damage other than combat damage. If the Regeneration value is higher than the amount of combat damage dealt the unit heals for the difference (up to its maximum health)