Guest User

Untitled

a guest
Feb 21st, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. String input1 = "CODE.0002 ,TESTING.0002 CODE.0001";
  2. var m1 = Regex.Matches(input1, @"(CODE.d{0,5})");
  3. var list = new List<string>();
  4.  
  5. foreach (Match match in m1)
  6. {
  7. list.Add(match.Value);
  8. }
Add Comment
Please, Sign In to add comment