using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OliviaAddInPro.Helper { public static class HelperGlobal { public static string RevisaText(string text) { StringBuilder sb = new StringBuilder(); foreach (char c in text) { if ((c >= '0' && c <= '9') || (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || c == '_') { sb.Append(c); } } return sb.ToString(); } } }