All pastes #280210 Raw Edit

Mine

public text v1 · immutable
·published 2006-12-15 18:54 UTC
rendered paste body
            Regex a = new Regex(@"Nation Name:\*^(?<name>\*)");

            string [] temp = clip_data.Split('\n');
            foreach (String s in temp)
            {
                ev_data = ev_data + i.ToString() + ": " + s + "\n";
                i++;
                Match a_ = a.Match(ev_data);
                if (a_.Groups.Count > 0)
                {
                    this.Nation_Name = a_.Groups.Count.ToString() + a_.Groups["name"].Value;
                }

                a_ = null;

            }
                richTextBox1.Text = ev_data + "\n" + "Nation Name: " + this.Nation_Name;