读取csv每行数据进行匹配。
$userPattern = "/[0-9]+[\s,\s]+".$testId."/i";
匹配csv的一行:14,test14,0现在csv的数据改成:14,test14,pwd14,0
上面的正则应该怎么改?
以上谢谢,最好能解释下。