Skip to content

Commit

Permalink
Merge pull request #329 from Ajay1596/patch-1
Browse files Browse the repository at this point in the history
updated email regex
  • Loading branch information
ckm007 authored Feb 11, 2021
2 parents dfb5053 + 2eca082 commit 014aa84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandbox/pre-registration-mz.properties
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ preregistration.workflow.documentupload=true/false
preregistration.workflow.booking=true/false

mosip.id.validation.identity.dateOfBirth=^\d{4}[\-\/\s]?((((0[13578])|(1[02]))[\-\/\s]?(([0-2][0-9])|(3[01])))|(((0[469])|(11))[\-\/\s]?(([0-2][0-9])|(30)))|(02[\-\/\s]?[0-2][0-9]))$
mosip.id.validation.identity.email= ^(.+)@(.+)$
mosip.id.validation.identity.email= ^[\\w-\\+]+(\\.[\\w]+)*@[\\w-]+(\\.[\\w]+)*(\\.[a-zA-Z]{2,})$
mosip.id.validation.identity.phone= ^([6-9]{1})([0-9]{9})$
#------------------ Captcha Service --------------
# Configuration for google re-captcha
Expand Down

0 comments on commit 014aa84

Please sign in to comment.