localregex 1.0.2 copy "localregex: ^1.0.2" to clipboard
localregex: ^1.0.2 copied to clipboard

outdated

Regular expressions package for popular patterns in Zimbabwe i.e. Passport Number, Mobile Numbers, Number Plates, etc

localregex #

This plugin allows flutter developers to check if an input matches common regex patterns in Zimbabwe This plugin works for all Flutter supported platforms i.e. Android, iOS, Web and Desktop (tested on Linux and Windows).

Developed by Ngonidzashe Mangudya

Usage #

Add dependency #

localregex: ^1.0.2

Import package #

  import 'package:localregex/localregex.dart';

Declare and initialise #

  final localregex = LocalRegex();

Check if a mobile number matches patterns for Econet, Netone or Telecel numbers #

localregex.isNetone('mobile_number');
localregex.isEconet('mobile_number');
localregex.isTelecel('mobile_number');

Check if a mobile number matches any of the patterns for Econet, Netone or Telecel #

localregex.isZwMobile('mobile_number');

Check if a supplied email matches proper email patterns #

localregex.isEmail('email_address');

Check if a supplied national id matches the pattern for Zimbabwean national id #

localregex.isZimbabwean('national_id');

Check passport number #

localregex.isZwPassword('passport_number');

Check number plate #

localregex.isZwNumberPlate('number_plate');

Check driver's license #

localregex.isZwDriversLicence('drivers_license');

Inbilt Teknolog ©

22
likes
50
pub points
68%
popularity

Publisher

verified publisheriamngoni.co.zw

Regular expressions package for popular patterns in Zimbabwe i.e. Passport Number, Mobile Numbers, Number Plates, etc

Homepage

License

Apache-2.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on localregex