Last active
September 13, 2019 04:06
-
-
Save lequi/fdd9f22b7efb2f394674ed4a57fd45a7 to your computer and use it in GitHub Desktop.
Revisions
-
lequi revised this gist
Sep 13, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ function is_mobilephone_number(phoneNumber) { phoneNumber = phoneNumber.replace(/\D/g, '').replace(/^(\+|)84/g, '0'); return /^(01[2689]|09|08[12345689]|07[06789]|03[23456789]|05[2689])[0-9]{7,8}$/g.test(phoneNumber); } -
lequi revised this gist
Nov 8, 2018 . No changes.There are no files selected for viewing
-
lequi revised this gist
Sep 17, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ function is_mobilephone_number(phoneNumber) { phoneNumber = phoneNumber.replace(/\D/g, '').replace(/^(\+|)84/g, '0'); return /^(01[2689]|09|08[12345689]|07[06789]|03[23456789]|05[689])[0-9]{7,8}$/g.test(phoneNumber); } -
lequi revised this gist
Aug 15, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ function is_mobilephone_number(phoneNumber) { phoneNumber = phoneNumber.replace(/\D/g, '').replace(/^(\+|)84/g, '0'); return /^(01[2689]|09|08[689])[0-9]{7,8}$/g.test(phoneNumber); } -
lequi renamed this gist
Aug 11, 2016 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
lequi created this gist
Aug 11, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ function is_mobilephone_number(phoneNumber) { phoneNumber = phoneNumber.replace(/\D/g, '').replace(/(\+|)84/g, '0'); return /^(01[2689]|09|08[689])[0-9]{7,8}$/g.test(phoneNumber); }