You can use the Regex pattern <.*?>
to retrieve each word, ie
MatchCollection matches = Regex.Matches(input, "<.*?>");
You can then iterate over the collection to get the tags.
2
solved Get String with Specific Tags in C#
You can use the Regex pattern <.*?>
to retrieve each word, ie
MatchCollection matches = Regex.Matches(input, "<.*?>");
You can then iterate over the collection to get the tags.
2
solved Get String with Specific Tags in C#