regex_toolkit 1.0.0 copy "regex_toolkit: ^1.0.0" to clipboard
regex_toolkit: ^1.0.0 copied to clipboard

A human friendly collection of commonly used regular expressions

Regex Toolkit #

Dart CI

A collection of commonly used regular expressions

Usage #

A simple usage example:

import 'package:regex_toolkit/regex_toolkit.dart';

void main() {
  var email = 'john@doe.com';

  if (RegexToolkit.emailId.hasMatch(email)) {
    print('Valid Email');
  } else {
    print('Invalid Email');
  }
}

Available Regex #

  • Simple

    • Alphanumeric (+ with spaces)
    • Alphabet (+ case sensitive)
    • Digits
    • Decimals (+ signed)
  • User

    • Username
    • Password
    • Email
  • Internet

    • URL
    • IPv4
    • IPv6
  • Date

  • Identity

    • SSN
    • International Phone Number
    • Passport
    • Credit Card

Authors #

This project is licensed under the MIT License - see the LICENSE file for details

4
likes
40
points
28
downloads

Publisher

unverified uploader

Weekly Downloads

A human friendly collection of commonly used regular expressions

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on regex_toolkit