How i can find only integers with RE?

后端 未结 0 1702
攒了一身酷
攒了一身酷 2020-12-12 23:44

i have input string : 11 bsszzz 0.5 te 11.43 432 -66 a x

i need to output only INTEGERS : 11 432 -66

Which one Re i should use?

I tried -?\\d+

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