How to get first group of numbers with regex in C#?

前端 未结 0 1260
野趣味
野趣味 2021-01-01 18:02

I have a string starting like this :

1_fdasdf

12_12314

1412sadasdg

how to capture these groups

1

12

1412

相关标签:
回答
  • 消灭零回复
提交回复
热议问题