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.
00037 |
0033 n nnnn nnnn[+33 n nnnn nnnn] |
pattern="(0|\+33|\(\+33\)|\(\0033\)|0033) ?[1-79]([\.\- ]?\d\d){4}" |
+33912341234 0912341234 |
0812341234 +33812341234 |
Telephone number France |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00106 |
20nn/nn |
pattern="(20)[\d]{2}/[\d]{2}" |
2015/16 2016/15 |
1015/16 2015-16 |
20d{2}/d{2} |
user input on tfcpc:patterntest (previous version) |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00128 |
pattern="EE\d{18}" |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00149 |
pattern="NL\d{2}[A-Z]{4}\d{10}" |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00181 |
pattern="/^((\+|00)?[1-9]{2}|0)[1-9]( ?[0-9]){8}$/" |
Don't use it! It does not work! |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00281 |
pattern="(0[1-9]|1[0-9]|2[0-9]|3[01]).(0[1-9]|1[012]).[0-9]{4}" |
Date Validation dd.mm.yyyy |
html5pattern.com/ |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00301 |
pattern="\d{3}[\-|\s]*\d{3}[\-|\s]*\d{4}" |
o reason to force a user entering a North American phone number to use hyphens or spaces: d{3}[-|s]*d{3}[-|s]*d{4} (supports all 3 phone number formats) |
http://html5pattern.com/ |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |
00413 |
pattern="/^ *(0?[0-9]|1[0-2]|[A-Z]{1,2})? *$/i" |
Start and end markers are not used in formular-input. The "i" modifier specifies a case-insenitive match in regex. Don't work with input pattern. Use [Aa] insteed. Multible spaces are certainly not properly patterned. |
Don't use it! It does not work! |
https://stackoverflow.com/questions/45418756/html5-validation-pattern |
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst. |