Skip to content
Snippets Groups Projects
Commit f57fb5b2 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

Merge branch 'fix/change-email-adress' into 'dev'

change regex for email

See merge request web-et-numerique/pamn_plateforme-des-acteurs-de-la-mediation-numerique/pamn_client!121
parents 1c51ac91 c5d0e147
No related branches found
No related tags found
3 merge requests!178release V1.10.0,!135Dev,!121change regex for email
......@@ -6,7 +6,7 @@ export class CustomRegExp {
/**
* Validate an email
*/
public static readonly EMAIL: RegExp = /^[a-z0-9.-]+@[a-z0-9.-]+[.][a-z]{2,3}/; //NOSONAR
public static readonly EMAIL: RegExp = /^[a-z0-9.-_]+@[a-z0-9.-]+[.][a-z]{2,3}/; //NOSONAR
public static readonly TEXT_WITHOUT_NUMBER: RegExp = /^[A-Za-zÀ-ÖØ-öø-ÿ- ]{1,}$/; //NOSONAR
/**
* Validate a password (at least 8 characters, 1 uppercase letter, 1 lowercase letter, 1 number, and 1 special character)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment