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.
00011 |
pattern="" |
irgendetwas something |
If the pattern is empty it can also be omitted. |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00019 |
FRCCnnnnnnnnn |
pattern="FR[A-Zd]{2}d{9}" |
FR1A123456789 FRAA123456789 |
FR12A23456789 Fr1A123456789 |
Each company within the European Union (EU) can be uniquely identified using the VAT identification number (VAT ID). It is particularly relevant for invoicing. For France, the country code FR and 9 digits the first and/or the second digit can be a letter. |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00071 |
pattern="^[a-z\d\.]{5,}$" |
Facebook Username |
[a-z\d.]{5,} |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00218 |
pattern="[0-1]" |
https://stackoverflow.com/questions/20508578/html5-pattern-api-no-html-tags-form-validation |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00222 |
mm/yy |
pattern="(0[1-9]|1[12])/\d{2}" |
02/20 12/18 |
13/20 11/O9 |
two digit of month, slash, two digit of year |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00268 |
pattern="((((0[1-9]|[12][0-9]|3[01])\/(0[13578]|1[02]))|((0[1-9]|[12][0-9]|30)\/(0[469]|11))|((0[1-9]|[12][0-8])\/(02)))\/[0-9]{4})|(29\/02\/((([02468][048]|[13579][26])00)|([0-9]{2}([02468][48]|[13579][26]))))" |
full date validation format dd/mm/yyyy with taking into account leap year |
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. |
00319 |
pattern="[0-9]{2}/[0-9]{2}/[0-9]{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. |
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. |