Hello Folks,
Does anybody knows how to utilize Regex in Powershell?
My goal just leave the first 2 characters of the email viewable but then mask the rest with " * "
something like:
to
jo******@emaildomain.com
There's a perfect example here
?<=.{1}).(?=[^@]*?@)
while utilizing Regex. but I dont know how to translate i to powershell
any thoughts?
Ivan
Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.