时间:2021-07-01 10:21:17 帮助过:46人阅读
aaaaaaaaaaaaaaaaaaaaaaa ooooooooooooooooooooooo Status: x1 Status: x23745 Status: x3242 Status: x4 bbbbbbbbbbbbbbbbbbbbbbbb cccccccccccccccccccccccc
------解决方案--------------------
preg_match_all('#Status:(.*)\n#isU', $str, $arr);
print_r($arr[1]);
------解决方案--------------------
preg_match_all('#Status:(.*)#mi', $str, $arr);
print_r( $arr[1]);
Array
(
[0] => x1
[1] => x23745
[2] => x3242
[3] => x4
)
------解决方案--------------------
/^Status:\s*(\S*)\s*$/im