【发布时间】:2013-05-22 13:14:52
【问题描述】:
我想要一个正则表达式模式,根据字符串中存在的数字拆分字符串
50cushions => [50,cushions]
30peoplerescued20children => [30,peoplerescued,20,children]
moon25flightin2days => [moon,25,flightin,2,days]
是否可以通过正则表达式来执行此操作,否则最好的方法是什么?
【问题讨论】:
标签: python regex string alphanumeric