using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace BusinessERP.Helpers { public static class ProjectExtensionMethod { public static IEnumerable Map(this IEnumerable seznam, Func mapper) { return seznam.Select(mapper); } public static string RemoveSpecialCharacters(this string _string) { return Regex.Replace(_string, "[^a-zA-Z0-9_.]+", "", RegexOptions.Compiled); } } }