var reg4=/\d(\w)(\w)\d/g; var ts ='$1az2bbc3y4dd5ee';
var ret=reg4.exec(ts)
数据分析师2017-09-30 23:30:14
Why is it stated that the position of the first character of matching text starts from 0, while the position of the text string starts from one? Isn’t it contradictory? -PHP Chinese website Q&A-Why is it stated that the position of the first character of matching text starts from 0, but the text string starts from the beginning? Isn't it contradictory? -PHP Chinese website Q&A
Please watch and learn.