Skip to content

Commit

Permalink
Merge pull request #19 from majidh1/sheba
Browse files Browse the repository at this point in the history
add sheba regex
  • Loading branch information
majidh1 authored Jul 31, 2024
2 parents 61ee780 + 6ca335d commit 8575816
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"iranian-regex",
"iranian mobile",
"iranian nationalCode",
"iranian sheba",
"persian-regex",
"farsi",
"regular expression"
Expand Down
17 changes: 17 additions & 0 deletions regexList/Sheba.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"title": "بررسی شماره شبا IBAN",
"description": "شماره شبا بانکی ایران با IR شروع میشود و 24 رقم عددی دارد و هیچ حرف انگلیسی یا فارسی دیگری در آن به کار نمی‌رود",
"regex": "IR[0-9]{24}",
"passTest": [
"IR123456789012345678901234",
"IR987654321123564878955752"
],
"rejectTest": [
"123456789012345678901234",
"IR12345678901234567890123",
"I.R12345678901234567890123",
"IR",
"ir",
"ir123456789012345678901234"
]
}

0 comments on commit 8575816

Please sign in to comment.