Skip to content

Commit

Permalink
Merge pull request #10 from majidh1/PhoneNumber
Browse files Browse the repository at this point in the history
Create PhoneNumber.json
  • Loading branch information
majidh1 authored Dec 4, 2023
2 parents 9cac8a3 + 4a51c7e commit 1b2cb81
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions regexList/PhoneNumber.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"title": "فقط اعداد ترکیب و پیش شماره - شماره ثابت",
"description": "براي چک کردن شماره تلفن ثابت",
"regex": "^0[0-9]{2,}-[0-9]{7,}$",
"passTest": [
"021-66332211",
"039-55126541",
"041-35674124",
"068-66332211"
],
"rejectTest": [
"زبیس23423",
"979842212144",
"0214545",
"110",
"-9787-878724",
"8789-9885845"
]
}

0 comments on commit 1b2cb81

Please sign in to comment.