Using re.findAll for decimal numbers

前端 未结 0 553
抹茶落季
抹茶落季 2020-12-20 17:30

I did use re.findAll to extract decimal number from a string like this:

size = "Koko33,5 m²"

numbers = re.findall("\\d+\\,*\\d+", size)

         


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