What problems does LocalRegex solve?
When building applications for Zimbabwe, you often need to:- Validate mobile numbers from different network providers (Econet, NetOne, Telecel)
- Check if national IDs are in the correct format
- Verify passport numbers, driver’s licenses, and vehicle number plates
- Format phone numbers into different formats (with or without country codes)
- Validate VoIP numbers from various providers
- Ensure password strength meets security requirements
Key features
- Mobile number validation: Supports all major Zimbabwean network providers (Econet, NetOne, Telecel)
- VoIP number validation: Validates numbers from Africom, Dandemutande, Liquid, Powertel, Telco, Telone, and Zarnet
- Identity verification: Validates national IDs, passports, driver’s licenses, and vehicle number plates
- Phone number formatting: Convert numbers between different formats (regular, country code, country code with +)
- National ID formatting: Format IDs to match official documents (11-223344 K 55)
- Cross-platform: Works on Android, iOS, Web, and Desktop (Linux, Windows, macOS)
- No initialization required: All methods are static - just import and use
- Student ID validation: Supports tertiary institutions like HIT, Telone, UZ, and MSU
- Additional utilities: Email, URL, password, date, and IP address validation
Quick example
Here’s a quick example of validating a Zimbabwean mobile number:Next steps
Installation
Add LocalRegex to your Dart or Flutter project
Quickstart
Get started with basic validation and formatting