Skip to content
Navigation menu
Back
Forward
Refresh
Search
Log in
Create account
DEV Community
Close
DEV Community
is a community of 554,041 amazing developers
We're a place where coders share, stay up-to-date and grow their careers.
Create new account
Log in
Home
Home
Sign In/Up
Sign In/Up
Listings
Podcasts
Videos
Tags
More...
Code of Conduct
FAQ
DEV Shop
Sponsors
About
Privacy Policy
Terms of use
Contact
Twitter
Facebook
Github
Instagram
Twitch
loading...
Discussion on:
Daily Challenge #179 - Hide Phone Numbers
View post
Full discussion
Replies for:
JavaScript: const encryptNum = num => num.replace(/(\d[ .-]?){6}$/, x => x.replace(/\d/g, 'X')) The first replace finds the last 6 digi...
Collapse
Expand
C I R L O R M ⚡
•
Feb 4 '20
Dropdown menu
Copy link
Hide
Winner
Code of Conduct
•
Report abuse
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create new account
Winner