I have 3 xml tag with the same tag name in 1 string :
<Name>Case1</Name> <Name>Case2</Name><Name>Case3</Name>
I want to extract the content of each node using regular expression. Here is the regexp i have tried so far
(<Name>)(.*)(<\/Name>)
But it doesn't match as expected. It matches the whole string
<Name>Case1</Name> <Name>Case2</Name><Name>Case3</Name>
Any help would be appreciate.