求正则设一字符串为:$s = 'KAETC56-600NC1213156600N31036 KA62A0098';求三段结果:ETC56-600N2131N31036 KA62A注:结果的位置不会改变。[解决办法]
KA([\w|-]{10})\w\d(\d{4})\d+(\w+)\s(\w{5})