Grabbing all regex matches of “$#” from a string

前端 未结 1 1832
粉色の甜心
粉色の甜心 2021-01-23 11:08

I have a string that contains multiple instances of a dollar sign followed by a positive number. I need to grab each instance out using regex.

Here\'s an example of a s

相关标签:
1条回答
  • 2021-01-23 11:31

    Regex.Match only returns the first match.

    Use Regex.Matches to return all matches.

    0 讨论(0)
提交回复
热议问题