@brazilian-utils/helper-only-numbers
v1.0.0-alpha.1
Published
> Strips all non numeric characters.
Downloads
21,444
Readme
@brazilian-utils/helper-only-numbers
Strips all non numeric characters.
See our website http://brazilian-utils.github.io for more information or the issues associated with this package.
Install
Using NPM:
npm install @brazilian-utils/helper-only-numbers --save
using Yarn
yarn add @brazilian-utils/helper-only-numbers
or using tag
<script
type="text/javascript"
src="https://unpkg.com/@brazilian-utils/helper-only-numbers/dist/helper-only-numbers.umd.production.js"
></script>
Usage
onlyNumbers('527.328.336-12'); // 52732833612
onlyNumbers('123abc456?.#789xyz 0'); // 1234567890