sa-company-registration-number-regex
v1.0.0
Published
Regular expression for matching South African Company Registration Number
Downloads
3
Maintainers
Readme
sa-company-registration-number-regex
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
- Fork it and create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request
License
MIT