Пример #1
0
 protected string MaskPII(string content, MatchEvaluator maskFn)
 => PIIRegEx.Replace(content, maskFn);
Пример #2
0
 /// <summary>
 /// Scrub first part of email
 /// </summary>
 /// <param name="content"></param>
 /// <returns></returns>
 public override string Scrub(string content)
 => PIIRegEx.Replace(content, MaskLetters).Replace("@", ".");