我有这个输入:
"1497660898","12104048"," ","","N","Y","N","Y","Y","776785344","","","-6156437426","-6156437426","1498885276","1499070495","791","791"
"1497660899","14099548"," ","","N","N","N","Y","N","776806021","","","-6156433269","-6156433269","1499021685","1498762671","791","791"
我试过这个正则表达式:
/^"\d{10}/gm
返回" 1497660898,这是我从两个输入行中提取第一个整数的最接近的。
我还尝试了/(\d{10})/gm
,它返回所有大小为10的整数。