This class is using the M8.System.Text.RegularExpressions.Mail.Address class to hide mail addresses on websites with JavaScript.
M8.System.Text.ReplaceEmailWithJavaScript
This static class has only one method:
This method takes one parameter - a String - and returns another String where each
mail address is hidden with a JavaScript making the work harder for spam robots.
The method replaces both mailaddresses in the text and within A Tags.
Please note that the class is static. Hence the usage is:
Console.WriteLine(M8.System.Text.RepalceEmailWithJavaScript.ReplaceAllOccurrences("mymail@mail.com"));