I would like replace some the chars of the e-mail addresses with * char.
when a customer make request, I would like to hide some the chars of the e-mail addres like below;
ha~~~~@~~~~ail.com
I would like to do that like that. I would like to show first two chars before @ and last 3 chars after @
but is there any other common way of doing this?
Similar to other responses, but also different. Accepts the .co.uk addresses too.
Results in:
Though I’m not 100% sure what you want to do with names that only have 2 letters on either side (thus the last two results). But that’s my bid. Example