How can I convert the list of match result from regex into List? I have this function but it always generate an exception,
List
With the Regex you have, you need to use Regex.Matches to get the final list of strings like you want:
Regex.Matches
MatchCollection matchList = Regex.Matches(Content, Pattern); var list = matchList.Cast().Select(match => match.Value).ToList();