sa-company-registration-number-regex

    1.0.0 • Public • Published

    sa-company-registration-number-regex

    package version package downloads standard-readme compliant package license make a pull request

    Regular expression for matching South African Company Registration Number

    Table of Contents

    Install

    This project uses node and npm.

    $ npm install sa-company-registration-number-regex
    # OR 
    $ yarn add sa-company-registration-number-regex

    Usage

    const saCompanyRegistration = require('sa-company-registration-number-regex')
     
    console.log(saCompanyRegistration({ exact: true }).test('2001/012511/07')) // true
     

    The exact argument only match an exact string. Default is global.

    Contribute

    1. Fork it and create your feature branch: git checkout -b my-new-feature
    2. Commit your changes: git commit -am 'Add some feature'
    3. Push to the branch: git push origin my-new-feature
    4. Submit a pull request

    License

    MIT

    Install

    npm i sa-company-registration-number-regex

    DownloadsWeekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    239 kB

    Total Files

    8

    Last publish

    Collaborators

    • avatar