使用C#屏蔽电子邮件地址 [英] Mask the Email Addresses using C#
问题描述
我在字符串变量中有svsdbvzdfbzdfbzdxbzdabc @ domain.comsdvxdfbxdfxdfxyz @ domain.com的价值。
I have value as svsdbvzdfbzdfbzdxbzdabc@domain.comsdvxdfbxdfxdfxyz@domain.com in the string variable.
我的期望是在2个字母和2个字母之后屏蔽@ **,如下面的格式
My expectation is to mask before 2 letters and after 2 letters of @ with ** as in the below format
svsdbvzdfbzdfbzdxbzda ** @ ** main.comsdvxdfbxdfxdfx ** @ ** main.com
svsdbvzdfbzdfbzdxbzda**@**main.comsdvxdfbxdfxdfx**@**main.com
如果这不是正确的询问地点,请将此主题移至正确的论坛
Please move this thread to right forum if this is not the correct place to ask
问候,
Sudheer
谢谢和问候,Sudheer
Thanks & Regards, Sudheer
推荐答案
您好,
您需要5分钟才能实施解决方案以3种不同的方式,伙伴......
You need 5 minutes to implement a solution in 3 different way, partner...
这篇关于使用C#屏蔽电子邮件地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!