Screenshot:
v1.0 Download:
http://adf.ly/YaU35">img121.imageshack.us/img121/6554/111wz.png" width="640"" border="0">
v1.0 Download:
http://adf.ly/YaU35 v1.01 Download:
http://adf.ly/YaU39 Changes in v1.01 - fixed one small bug, added word and char counter
VirusTotal:
http://adf.ly/YaU3B Source:
private string returnSpinnedPart(string part) { Random random = new Random(); string[] values = part.Split('|'); if (values.Length > 0) return values[random.Next(0, values.Length)]; return ""; } private string returnSpinnedContent(string input) { string spinned = input; try { Regex regexObj = new Regex(@"\{.*?\}", RegexOptions.Singleline); MatchCollection m = regexObj.Matches(input); foreach (Match match in m) { string part = returnSpinnedPart(match.Value.Replace("{", "").Replace("}", "")); spinned = spinned.Replace(match.Value, part); } } catch (ArgumentException ex) { MessageBox.Show("RegEx prob"); } return spinned; }
Last edited by bbrez1; 07-09-2010 at 08:23 AM.
0 comments
Posts a comment