Skip to content

Commit 75d8e25

Browse files
committed
Create rules.md
1 parent 96c2384 commit 75d8e25

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

docs/1.x/rules.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Rules
2+
3+
| # | Rule name | Usage |
4+
|----|----------------------------|--------------------------------------------------------------------------|
5+
| 1 | ValidBitcoinAddress | Validate bitcoin address for ex (1KFHE7w8BhaENAswwryaoccDb6qcT6DbYY) |
6+
| 2 | ValidCapitalCharWithNumber | Validate String for ex (MILWAD-84) |
7+
| 3 | ValidDiscordUsername | Validate username discord for ex (Milwad#2134) |
8+
| 4 | ValidHashtag | Validate hashtag for ex (#milwad) |
9+
| 5 | ValidIpAddressIPV4 | Validate ip address IPV4 for ex (129.144.50.56) |
10+
| 6 | ValidIpAddressIPV6 | Validate ip address IPV6 for ex (2001:db8:3333:4444:5555:6666:7777:8888) |
11+
| 7 | ValidPhoneNumber | Validate phone number for ex (09366000000) |
12+
| 8 | ValidPort | Validate port value for ex (8080) |
13+
| 9 | ValidSlug | Validate slug for ex (milwad-dev) |
14+
| 10 | ValidImei | Validate imei phone for ex (354809104295874) |
15+
| 11 | ValidStrongPassword | Validate password for ex (Milwad123!) |
16+
| 12 | ValidUrl | Validate url for ex (https://www.google.com) |
17+
| 13 | ValidUsername | Validate username for ex (milwad) |
18+
| 14 | ValidUuid | Validate uuid for ex (123e4567-e89b-12d3-a456-426655440000) |
19+
| 15 | ValidHexColor | Validate hex color for ex (#fcba03) |
20+
| 16 | ValidHtmlTag | Validate html tags for ex (``<h1></h1>``) |
21+
| 17 | ValidNationalCard | Validate national card for ex (015016437) |
22+
| 18 | ValidCarNumber | Validate car number for ex (KA01AB1234) |
23+
| 19 | ValidNameDaysWeek | Validate day week for ex (monday) |
24+
| 20 | ValidEvenNumber | Validate number is even for ex (1024) |
25+
| 21 | ValidOddNumber | Validate number is odd for ex (4321) |
26+
| 22 | ValidSlashEndOfString | Validate write slash at the string for ex (milwad/) |
27+
| 23 | ValidCartNumberIran | Validate cart number for ex (1234123412341234) |
28+
| 24 | ValidBase64 | Validate base64 for ex (bWlsd2Fk) |
29+
| 25 | ValidJwt | Validate jwt |
30+
| 26 | ValidJalaliDate | Validate jajali date for ex (1384/8/25) |
31+
| 27 | ValidDuplicateCharacter | Validate duplicate characters for ex (1,2,3,4,5,6,7,8,9) |
32+
| 28 | ValidPattern | Validate texts with specific pattern 🔥 for ex (4444-4444-4444) |
33+
| 29 | ValidDuplicate | Validate duplicate string, numbers for ex (1123456) |
34+
| 30 | ValidUlid | Validate ulid for ex (01ARZ3NDEKTSV4RRFFQ69G5FAV) |
35+
| 31 | ValidDomain | Validate domain name for ex (github.com) |
36+
| 32 | ValidCamelCase | Validate camel case for ex (milwadDev) |
37+
| 33 | ValidPascalCase | Validate pascal case for ex (MilwadDev) |
38+
| 34 | ValidKebabCase | Validate kebab case for ex (milwad-dev) |
39+
| 35 | ValidSnakeCase | Validate snake case for ex (milwad_dev) |
40+
| 36 | ValidVatId | Validate european VAT ID ex (EL123456789123) |
41+
| 37 | ValidIban | Validate IBAN ex (IR062960000000100324200001) |
42+
| 38 | ValidIranPostalCode | Validate Iran postal code ex (3354355599) |

0 commit comments

Comments
 (0)