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.
00040 |
| +31 nnn nnnnnn0031 nn nnnnnnn |
| pattern="(((\+31|0031) ?)|0)((?=.{9}$)[1-9]\d{1,2}\d{6,7}|(?=.{10}$)[1-9]\d{1,2} \d{6,7})" |
| +31 1231234560031 123 123456 |
| 031 123 123456+45 123 123456 |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00052 |
| pattern="[A-zÄÖÜäöüß]*" |
| AbcdezyxWV |
| Ab1dezyxW% |
| Buchstaben, auch Umlaute, keine Sonderzeichen |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00113 |
| pattern="\S*" |
| WortEin_Wort_ohne-Leerszeichen |
| ein Satzleerzeichen sind nicht erlaubt |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00190 |
| pattern="[0-9]{2}\-[0-9]{3}" |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00214 |
| x/y/x |
| pattern="(.+)/.+/\1" |
| 123/abc/123one/to/one |
| 123abc123this/is not/that |
| question on http://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. |
00313 |
| pattern="\d{6,8}[\-]?\d{4}" |
| http://html5pattern.com/ |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00349 |
| pattern="\d{4}mm Wide x \d{4}mm Deep x \d{4}mm High" |
| Question on 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. |
00351 |
| 0000mm x 0000mm x 0000mm |
| pattern="\d{1,4}(mm|in) x \d{1,4}(mm|in) x \d{1,4}(mm|in)" |
| input-pattern.com |
| All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |