Diese Musterdatenbank enthält aktuell 417 Muster für alles mögliche und unmögliche. Ich hoffe Du kannst hier das Muster finden, das du für deine Arbeit brauchst. Fehlerfreiheit kann leider nicht garantiert werden! Du kannst aber das Muster testen ob es das tut was Du erwartest. Nutze dazu das eingebaute Eingabefeld.
00005 |
| nnnn1234 |
| pattern="[1-9]\d{3}" |
| 12349874 |
| 0123254t |
| 4stellige Zahl ohne führende Null. Könnte als allgemeines Muster für die Postleitzahl der Schweiz, von Österreich, Australien oder Belgien verwendet werden. |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00043 |
| rgb(255,0,0)rgb(255, 0, 0) |
| pattern="rgb\(((25[0-5]|2[0-4]\d|[01]?\d\d?), ?){2}(25[0-4]|2[0-5]\d|[01]?\d\d?)\)" |
| rgb(255,100,50)rgb(255, 100, 50) |
| rgb(255.100.50)RGB (255, 256, 50) |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00082 |
| nn |
| pattern="(?![15]9|[56]8)[0-8]\d|9[012]" |
| 1615 |
| 1993 |
| Zahl von 00 - 92 aber ohne die Zahlen 19, 58, 59, 68. |
| Question at html5pattern.com answered by input-pattern.com |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00134 |
| pattern="HU\d{26}" |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00206 |
| pattern="(?=.{6,9}$)(?!(.)\1\1)([A-Z]){1,3} (?!HJ|KZ|NS|SA|SD|SS|R[A-Z])[A-Z]{1,2}\d{1,4}[EH]?" |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00217 |
| pattern="[^(^foo$|^bar$)]" |
| https://stackoverflow.com/questions/13875922/html5-pattern-exclude-words |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00262 |
| pattern="[\+]\d{2}[\-]\d{10}" |
| Don't use it! It does not work! |
| html5pattern.com/ |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00386 |
| pattern="[0-9]{1,2}/[0-9]{4}" |
| https://stackoverflow.com/questions/54734005/max-number-not-max-digits-in-html5-pattern |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |