V
Vai2000
Can someone help me with expression needed to extract the entire string
FOO*1*DATA*DATA*ID~
1. This string pattern is embedded in a super long string..
TIA
This is my unsuccessful attempt
Regex re = new Regex("[F][O][O][*][0-9][*][~]");
MatchCollection m = re.Matches(content);
ArrayList al=new ArrayList();
foreach (Match m in m)
{
al.Add(m.Value);
}
FOO*1*DATA*DATA*ID~
1. This string pattern is embedded in a super long string..
TIA
This is my unsuccessful attempt
Regex re = new Regex("[F][O][O][*][0-9][*][~]");
MatchCollection m = re.Matches(content);
ArrayList al=new ArrayList();
foreach (Match m in m)
{
al.Add(m.Value);
}