using System;
using System.Text.RegularExpressions;
public static class ClipboardFusionHelper
{
public static string ProcessText(string text)
{
Regex email = new Regex(@"[<\[](?<email>[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4})[>\]];?", RegexOptions.IgnoreCase);
string textNew = text;
if (email.Match(text).Success)
{
textNew = "";
foreach(Match match in email.Matches(text))
textNew += match.Groups["email"] + " ";
}
return textNew;
}
}