Skip to content

Commit

Permalink
MAG2-329 - Changed cardholder validation regex
Browse files Browse the repository at this point in the history
  • Loading branch information
FatchipRobert committed Dec 16, 2024
1 parent d564dc1 commit 94d3bac
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 94d3bac

Please sign in to comment.