This pattern database contains current 417 pattern for everything possible and impossible. I hope you can find the pattern you need for your work here. Faultlessness cannot be guaranteed! But you can test the pattern if it does what you expect it to do. Use the built-in input field.
00100 |
pattern="(?=.*\d)" |
Prediction. However, a pattern has to be attached to which the prediction is valid. |
Don't use it! It does not work! the pattern for prediction is missing. |
(?=.*\d).* |
patterntest user input on tfcpc:input-pattern (previous version) |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00169 |
pattern="0,75|6,00|[1-5],(00|25|50|75)" |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00182 |
xx:xx:xx:xx:xx:xx |
pattern="([\da-fA-F]{2}:){5}[\dA-F]{2}" |
12:34:56:78:9A:BC |
12-34-56-78-9A-BC |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00197 |
pattern="M[oi]|D[io]|Fr|S[ao]" |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00228 |
N'Nnn Nnn-Nnn Nnnn |
pattern="(?!.{81})(([A-Z][a-z]+-[A-Z][a-z]+)|[A-Z]'[A-Z][a-z]+|[A-Z][a-z]+)( (([A-Z][a-z]+-[A-Z][a-z]+)|[A-Z]'[A-Z][a-z]+|[A-Z][a-z]+)){0,2}" |
O'Reilly Lewis Roberts-Thomson O'Hara Julia Roberts |
O'Reilly Lewis Roberts-Thomson Miller OReilly JuliaRoberts |
only latin Char, max 80, single-quotes, hypen |
asked 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. |
00282 |
pattern="(^(\+?\-? *[0-9]+)([,0-9 ]*)([0-9 ])*$)" |
Basic phone number verification: |
http://html5pattern.com/ |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00379 |
pattern="^(?:(?:31(\/|-|\.)(?:0?[13578]|1[02]))\1|(?:(?:29|30)(\/|-|\.)(?:0?[13-9]|1[0-2])\2))(?:(?:1[6-9]|[2-9]\d)?\d{2})$|^(?:29(\/|-|\.)0?2\3(?:(?:(?:1[6-9]|[2-9]\d)?(?:0[48]|[2468][048]|[13579][26])|(?:(?:16|[2468][048]|[3579][26])00))))$|^(?:0?[1-9]|1\d|2[0-8])(\/|-|\.)(?:(?:0?[1-9])|(?:1[0-2]))\4(?:(?:1[6-9]|[2-9]\d)?\d{2})$" |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00401 |
pattern="https?://.+" |
https://www.the-art-of-web.com/html/html5-form-validation/ |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |