Bangladesh phone number validation
# npm
npm install @0devco/bd-phone-validator
# yarn
yarn add @0devco/bd-phone-validator
let bdPhone = require('@0devco/bd-phone-validator')
/* import */
import bdPhone from '@0devco/bd-phone-validator'
let check = bdPhone('01751211255')
console.log(check)
01751200200
,+8801751200200
bdPhone('01751200200')
0175120020
,017 512 00 20
bdPhone('0175120020')
-
input =>
013512002002
,+88013512002002
,+880 (135) 120-02002
-
output suggest =>
+8801351200200
bdPhone('013512002002')
012512002002
bdPhone('012512002002')