Created
June 8, 2021 11:34
-
-
Save raphox/0bbbe4feb11bf062132594be09bd7ffe to your computer and use it in GitHub Desktop.
obfuscate phone number
This file contains 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
'+5533991998109'.replace(/[\S](?=[\w]{4})/g, 'X'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment