I have text like <GetSupportUrls>b__5
The resultant output should be te content between the angle brackets(<) and (>) i.e. GetSupportURLs here..
I am trying with the below Regular Exp but no luck
var result= Regex.Match("<GetSupportUrls>b__5", @"\<([^>]*)\)").Groups[1].Value;
Please help
Your regex is looking for a closing parenthesis, not an angle bracket. Try
(You don’t need to escape the
<>characters, by the way).