-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest_patterns.json
More file actions
49 lines (49 loc) · 861 Bytes
/
test_patterns.json
File metadata and controls
49 lines (49 loc) · 861 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[
{
"pattern": "ORD-[0-9]{6}",
"value": "ORD-123456"
},
{
"pattern": "CUST-[0-9]{8}",
"value": "CUST-12345678"
},
{
"pattern": "P[0-9]{4}-[A-Z]{2}",
"value": "P1234-AB"
},
{
"pattern": "[^@]+@[^.]+..+",
"value": "user@example.com",
"minLength": 1,
"maxLength": 50
},
{
"pattern": "\\+?[0-9\\s\\-()]{10,20}",
"value": "+1-555-123-4567"
},
{
"pattern": "[0-9]{5}(-[0-9]{4})?",
"value": "12345-6789"
},
{
"pattern": "[0-9]{16}",
"value": "1234567890123456",
"length": 16
},
{
"pattern": "[A-Z0-9]{10,20}",
"value": "ABC1234567890"
},
{
"pattern": "[A-Z]{4}[A-Z0-9]{6}",
"value": "BANK123456"
},
{
"pattern": "[A-Z]{2}[0-9]{12}",
"value": "AB123456789012"
},
{
"pattern": "REF-[A-Z]{2}[0-9]{4}",
"value": "REF-AA0000"
}
]