diff --git a/package.json b/package.json index f6fb8e0..854c45b 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,7 @@ "iranian-regex", "iranian mobile", "iranian nationalCode", + "iranian sheba", "persian-regex", "farsi", "regular expression" diff --git a/regexList/Sheba.json b/regexList/Sheba.json new file mode 100644 index 0000000..f90280e --- /dev/null +++ b/regexList/Sheba.json @@ -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" + ] +}