Match all the number or word in the same tag using RegEx.
I am trying to match all the number or word in the sentence below.
Sentence: <tag>123<tag>abc<tag>efg<tag>456<tag>
I am using below RegEx expression
RegEx: <tag>(.*?)<tag>
But it can only capture '123' and 'efg'.
May I know how can I capture all the contents (123,abc,efg,456) in the tag?