@hmcts/ccpay-web-component 5.0.1-beta95 → 5.0.1-beta96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2787,7 +2787,7 @@
2787
2787
  this.emailAddressForm = this.formBuilder.group({
2788
2788
  email: new forms.FormControl('', forms.Validators.compose([
2789
2789
  forms.Validators.required,
2790
- forms.Validators.pattern('^[a-z0-9][a-z0-9-_\.]+@([a-z]|[a-z0-9]?[a-z0-9-]+[a-z0-9])\.[a-z0-9]{2,10}$')
2790
+ forms.Validators.pattern('^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$')
2791
2791
  ]))
2792
2792
  });
2793
2793
  this.postCodeForm = this.formBuilder.group({