python 正则匹配字母数字中的任意数字,字母

([1-9]\d*.\d*|0.\d*[1-9]\d*) (.*$)

  字符串为:6.12 ounces

posted @ 2018-08-08 21:31  那时的吻狠陶醉  阅读(8338)  评论(0)    收藏  举报