In reality the regexp used in this gif doesn't work server side, the regexp pattern should be ^[^@]@gmail\.com$ (the RegExp should match the whole string) 😬.
Keycloakify provides client side validation out of the box but for customizing the registration experience you'll have customize register-user-profile.ftl