String match = ">ipi|IPI00831484| IPI00832484.1 Uncharacterized etc" String[] values = match.Split(new char[] {'|'}); //values now contains three string String yours = values[1];
Regex rx = new RegEx("|[^|]*|"); Match match = rx.Match(">ipi|IPI00831484| IPI00832484.1 Uncharacterized etc"); if(match.Succeess) { Console.WriteLine(match.Value); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)