Skip to content

Commit

Permalink
Merge pull request #577 from FatchipRobert/MAG2-329-Cardholder-Valida…
Browse files Browse the repository at this point in the history
…tion

MAG2-329 - Changed cardholder validation regex
  • Loading branch information
janteuber authored Dec 17, 2024
2 parents d564dc1 + 94d3bac commit c024fac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ define(
return false;
},
isCardholderDataValid: function (sCardholder) {
if (sCardholder.search(/[^a-zA-ZÄäÖöÜüß\-\. ]+/) === -1) {
if (sCardholder.search(/[0-9]+/) === -1) {
return true;
}
return false;
Expand Down

0 comments on commit c024fac

Please sign in to comment.