Nachnamen mit van sind nun erlaubt
parent
64268a05df
commit
3255505335
|
@ -35,8 +35,8 @@ if(isset($_POST['Registrieren'])){
|
||||||
|| !preg_match("/^([A-ZÄÖÜa-zäöüß]{2,}[ -]?)+$/", $nachname)
|
|| !preg_match("/^([A-ZÄÖÜa-zäöüß]{2,}[ -]?)+$/", $nachname)
|
||||||
|| !preg_match("/[a-zäöüß]$/", $nachname)
|
|| !preg_match("/[a-zäöüß]$/", $nachname)
|
||||||
|| preg_match("/[A-ZÄÖÜ][a-zäöüß]+[ ]+[A-ZÄÖÜ][a-zäöüß]+/", $nachname)
|
|| preg_match("/[A-ZÄÖÜ][a-zäöüß]+[ ]+[A-ZÄÖÜ][a-zäöüß]+/", $nachname)
|
||||||
|| !preg_match("/^(von( der)?|zu)[ ][A-ZÄÖÜ]|^[A-ZÄÖÜ]/", $nachname)
|
|| !preg_match("/^(von( der)?|zu|van)[ ][A-ZÄÖÜ]|^[A-ZÄÖÜ]/", $nachname)
|
||||||
|| !preg_match("/(^(von( der)?|zu)[ ][A-ZÄÖÜ][a-zäöüß]+|^[A-ZÄÖÜ][a-zäöüß]+)([-][A-ZÄÖÜ][a-zäöüß]+)?$/", $nachname)
|
|| !preg_match("/(^(von( der)?|zu|van)[ ][A-ZÄÖÜ][a-zäöüß]+|^[A-ZÄÖÜ][a-zäöüß]+)([-][A-ZÄÖÜ][a-zäöüß]+)?$/", $nachname)
|
||||||
|| preg_match("/(\w)\1{2,}/", $nachname)) {
|
|| preg_match("/(\w)\1{2,}/", $nachname)) {
|
||||||
|
|
||||||
header("Location: registrierung_wiederholen.html");
|
header("Location: registrierung_wiederholen.html");
|
||||||
|
|
Loading…
Reference in New Issue