public static string GetPatternString(string pattern)
        {
            string str = Regex.Replace(pattern, "[#\\?]", (Match m) => (m.ToString() == "#" ? TextData.GetNumeric(1) : TextData.GetAlphabetical(1)));

            return(str);
        }
Esempio n. 2
0
 public static string GetZipCode()
 {
     return(TextData.GetNumeric(5));
 }