Skip to content
Snippets Groups Projects
Commit c5d0e147 authored by Antonin COQUET's avatar Antonin COQUET
Browse files

change regex for email

parent 8bf82fdb
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 { ...@@ -6,7 +6,7 @@ export class CustomRegExp {
/** /**
* Validate an email * 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 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) * 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