phoneNumber

Validate Iranian mobile numbers, normalize between formats (`0...`, `+98...`, `0098...`), extract the 4-digit operator prefix, and look up operator name plus province coverage. Use when validating SMS gateway input, building contact forms, or showing operator info next to a number. Triggers on mentions of isPhoneNumberValid, phoneNumberDetail, phoneNumberNormalizer, getPhoneNumberPrefix, ایرانسل, همراه اول, mobile validation, +98.

persian-tools b83954c 4.7 KB Updated

File contents

persian-tools/persian-tools/tree/main/skills/phoneNumber commit b83954c791

Frequently asked questions

npx skillmds@latest add persian-tools/phonenumber