{"id":32307545,"url":"https://github.com/agungnursatria/regexpattern","last_synced_at":"2026-02-20T09:31:51.492Z","repository":{"id":49444717,"uuid":"259545549","full_name":"agungnursatria/regexpattern","owner":"agungnursatria","description":"Flutter collection of regex pattern for string validation.","archived":false,"fork":false,"pushed_at":"2023-10-31T07:58:31.000Z","size":364,"stargazers_count":29,"open_issues_count":1,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-23T07:28:49.269Z","etag":null,"topics":["flutter","flutter-plugin","pattern","regex","regex-pattern","validation"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/regexpattern","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agungnursatria.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-28T05:58:44.000Z","updated_at":"2024-01-23T21:17:07.000Z","dependencies_parsed_at":"2023-02-10T18:15:23.554Z","dependency_job_id":"834353fd-b70e-4a2e-ae13-67676826811d","html_url":"https://github.com/agungnursatria/regexpattern","commit_stats":{"total_commits":54,"total_committers":3,"mean_commits":18.0,"dds":0.4814814814814815,"last_synced_commit":"5637b9ac86bb15972488539225078545464a16e3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agungnursatria/regexpattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungnursatria%2Fregexpattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungnursatria%2Fregexpattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungnursatria%2Fregexpattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungnursatria%2Fregexpattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agungnursatria","download_url":"https://codeload.github.com/agungnursatria/regexpattern/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agungnursatria%2Fregexpattern/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29647673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter","flutter-plugin","pattern","regex","regex-pattern","validation"],"created_at":"2025-10-23T07:19:31.751Z","updated_at":"2026-02-20T09:31:51.486Z","avatar_url":"https://github.com/agungnursatria.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RegexPattern\n\nFlutter collection of regex pattern for string validation.\n\n## Getting Started\n\nIn your flutter project add the dependency:\n\n```yml\ndependencies:\n  ...\n  regexpattern: ^2.6.0\n```\n\n## Usage\n\n#### Importing package\n\n```dart\nimport 'package:regexpattern/regexpattern.dart';\n```\n\n#### Using RegexPattern\n\n#### Matching string to pattern\n\n```dart\nbool hasMatch = RegexValidation.hasMatch(\u003cString\u003e, \u003cRegexPattern\u003e);\n\nor\n\nString text = 'https://google.com';\nbool isUrl = text.isUrl(); // text.is\u003cPattern\u003e();\n```\n\n### RegexPattern\n\nCollection of regex pattern used to validating data\n\n```dart\nPattern username;\nPattern usernameV2;\nPattern usernameGoogle;\nPattern usernameInstagram;\nPattern usernameDiscord;\nPattern email;\nPattern url;\nPattern uri;\nPattern phone;\nPattern hexadecimal;\nPattern vector;\nPattern image;\nPattern audio;\nPattern video;\nPattern txt;\nPattern doc;\nPattern excel;\nPattern ppt;\nPattern apk;\nPattern pdf;\nPattern html;\nPattern dateTimeUTC;\nPattern dateTime;\nPattern binary;\nPattern md5;\nPattern sha1;\nPattern sha256;\nPattern ssn;\nPattern ipv4;\nPattern ipv6;\nPattern isbn;\nPattern github;\nPattern passport;\nPattern currency;\nPattern numericOnly;\nPattern alphabetOnly;\nPattern alphaNumericOnly;\nPattern alphaNumericSymbolOnly;\nPattern noWhitespace;\nPattern passwordEasy;\nPattern passwordNormal1;\nPattern passwordNormal2;\nPattern passwordNormal3;\nPattern passwordHard;\nPattern passwordEasyAllowedWhitespace;\nPattern passwordNormal1AllowedWhitespace;\nPattern passwordNormal2AllowedWhitespace;\nPattern passwordNormal3AllowedWhitespace;\nPattern passwordHardAllowedWhitespace;\nPattern uuid;\nPattern bitcoinAddress;\nPattern bitcoinTaprootAddress;\nPattern bitcoinSegwitAddress;\nPattern ethereumAddress;\n```\n\n## CONTRIBUTION\nIf you wish to contribute, fork this repository and add your regex. Create a [PR](https://github.com/agungnursatria/regexpattern/pulls) \u0026 i'll check it.\n\n## LICENSE\n```\nBSD 3-Clause License\n\nCopyright (c) 2020, Agung Nursatria\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, this\n   list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n   this list of conditions and the following disclaimer in the documentation\n   and/or other materials provided with the distribution.\n\n3. Neither the name of the copyright holder nor the names of its\n   contributors may be used to endorse or promote products derived from\n   this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagungnursatria%2Fregexpattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagungnursatria%2Fregexpattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagungnursatria%2Fregexpattern/lists"}