diff --git a/src/app/form/form.component.ts b/src/app/form/form.component.ts
index a5d2ff581bab802f8018e6697648fa4db28b0914..442669834e68f943c128b6d26068ff780ecf9700 100644
--- a/src/app/form/form.component.ts
+++ b/src/app/form/form.component.ts
@@ -182,7 +182,7 @@ export class FormComponent implements OnInit {
     // Check to refresh every 2 number.
     if (phoneNoSpace.length % 2 == 0) {
       // Add space every 2 number
-      this.structureForm.get('contactPhone').setValue(phoneNoSpace.replace(/(?!^)(?=(?:\d{2})+$)/g, ' '));
+      this.structureForm.get('contactPhone').setValue(phoneNoSpace.replace(/(?!^)(?=(?:\d{2})+$)/g, ' ')); //NOSONAR
     }
   }
 
diff --git a/src/app/profile/profile.component.ts b/src/app/profile/profile.component.ts
index e340e7e7078ec4372d84c13961c1f8394f6d4bc1..1c7bd1c4228a9eb16996d461a832ab18c0596264 100644
--- a/src/app/profile/profile.component.ts
+++ b/src/app/profile/profile.component.ts
@@ -34,11 +34,11 @@ export class ProfileComponent implements OnInit {
       {
         oldPassword: [
           '',
-          [Validators.required, Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/)],
+          [Validators.required, Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/)], //NOSONAR
         ],
         password: [
           '',
-          [Validators.required, Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/)],
+          [Validators.required, Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/)], //NOSONAR
         ],
         confirmPassword: [''],
       },
diff --git a/src/app/reset-password/reset-password.component.ts b/src/app/reset-password/reset-password.component.ts
index ed5a77541a12372197e202763e6216c12fb822eb..3f3187b999e45742c1d5574b85248dfba93094a4 100644
--- a/src/app/reset-password/reset-password.component.ts
+++ b/src/app/reset-password/reset-password.component.ts
@@ -38,7 +38,7 @@ export class ResetPasswordComponent implements OnInit {
       {
         password: [
           '',
-          [Validators.required, Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/)],
+          [Validators.required, Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/)], //NOSONAR
         ],
         confirmPassword: [''],
       },
diff --git a/src/app/shared/components/create-account-form/create-account-form.component.spec.ts b/src/app/shared/components/create-account-form/create-account-form.component.spec.ts
index 259b99060fe3314017597122b7ce9e1e2eaac102..79e2eb5bec60413f5161ddbd87d43cd1f3e4cc37 100644
--- a/src/app/shared/components/create-account-form/create-account-form.component.spec.ts
+++ b/src/app/shared/components/create-account-form/create-account-form.component.spec.ts
@@ -12,7 +12,7 @@ describe('CreateAccountFormComponent', () => {
       email: new FormControl('test@test.fr', Validators.required),
       password: new FormControl('Testaze123!', [
         Validators.required,
-        Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/),
+        Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/), //NOSONAR
       ]),
       confirmPassword: new FormControl('Testaze123!'),
     },
diff --git a/src/app/shared/components/create-account-form/create-account-form.component.ts b/src/app/shared/components/create-account-form/create-account-form.component.ts
index 2ae7b4136730d0497ed5a5a49c30a5e054bf0be5..25872ca4ac9bc52bb4a5ee2041aab5d795fc0d46 100644
--- a/src/app/shared/components/create-account-form/create-account-form.component.ts
+++ b/src/app/shared/components/create-account-form/create-account-form.component.ts
@@ -19,7 +19,7 @@ export class CreateAccountFormComponent implements OnInit {
         email: new FormControl('', Validators.required),
         password: new FormControl('', [
           Validators.required,
-          Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/),
+          Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*])(?=.{8,})/), //NOSONAR
         ]),
         confirmPassword: new FormControl(''),
       },