PHP正則表達式匹配自定義開頭結尾以前字符串

話很少說,直接上代碼web $arr = 'errorType=curlerror error_message=cURL error 7: couldn\'t connect to host Array ( [Host] => s109.360.qkzj.game-as.com '; $pattern = '/(errorType)(.*)(?)(Array)/'; //errorType
相關文章
相關標籤/搜索