forked from M3-Academy/desafio-react-e-typescript
Entrega do Desafio #4
@ -10,7 +10,7 @@ const phone =
|
||||
|
||||
const instagram = /@([A-Za-z0-9_](?:(?:[A-Za-z0-9_]|(?:\.(?!\.))){0,28}(?:[A-Za-z0-9_]))?)/;
|
||||
|
||||
const birthDate = /\d{2}.\d{2}.\d{4}/;
|
||||
const birthDate = /^[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{4}$/;
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user