inputPattern

database

This pattern database contains current 410 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.

Search the database

You can use the search function and hope that there is a link to the term you are looking for.

Data entered in the search field are recorded and evaluated together with the IP address inquiring about in order to optimise the search function and the scope of the database.



Select keywords

You can use the random selection of keywords for which there are patterns:

Pattern (eight randomly selected patterns)

00001

nnnnn12345
pattern="\d{5}"
12345 98765
123456 123 5
(?!00)\d{5}
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst.

00002

nnnn1234
pattern="\d{4}"
1234 3214
E124 12378
Any four-digit number. Simplified form of the postal code, it would be better to define the validity in more detail. For example, there is no postal code with zeros at the beginning.
Not perfect for postal codes
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst.

00005

nnnn1234
pattern="[1-9]\d{3}"
1234 9874
0123 254t
4-digit number without leading zero. Could be used as a general pattern for the postal code of Switzerland, Austria, Australia or Belgium.
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst.

00035

pattern="[1-5](,\d)?|6(,0)?"
1,3 5,9
6,1 3.3
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.

00154

pattern="SM\d{2}[A-Z]\d{10}[0-9A-Z]{12}"
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst.

00298

pattern="(\+|00)\d{2}((\ |))\d{2}((\ |))\d{7}"
simple pattern for international 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.

00395

pattern="[a-zA-Z ]{5,}"
https://stackoverflow.com/questions/18655174/html-5-pattern-accepting-spaces
All data without guarantee of correctness! Please test it yourself.alle Angaben ohne Gewähr der Fehlerfreiheit! Bitte teste es selbst.

privacy policy

Legal Notice