I want to extract email id between < >
< >
for example.
input string : "abc" <[email protected]>; "pqr" <[email protected]>;
"abc" <[email protected]>; "pqr" <[email protected]>;
output string : [email protected];[email protected]
[email protected];[email protected]
string input = @"""abc"" <[email protected]>; ""pqr"" <[email protected]>;"; var output = String.Join(";", Regex.Matches(input, @"<(.+?)>") .Cast<Match>() .Select(m => m.Groups[1].Value));
1.4m articles
1.4m replys
5 comments
57.0k users