Created
May 7, 2025 00:35
-
-
Save yogithesymbian/c81b5ac68d0b6dacd8c49d5c43a7d384 to your computer and use it in GitHub Desktop.
marsk phone number | yo security yo data ai
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 characters
function maskPhoneNumber(phone) { | |
return phone.replace(/^(\d{4})\d{4}(\d{3})$/, '$1*****$2'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
recall