我有一个以下变量变量
$test="<title>This is 1 test | "best"</title>, <title>This is 2 test | "best"</title>, <title>This is 3 test | "best"</title>, <title>This is 4 test | "best"</title>, <title>This is 5 test | "best"</title>";
我希望数据按以下顺序排列,通过使用数组并从头开始 获取“标题”和最后的“最佳”/标题。
This is 1 test
This is 2 test
This is 3 test
This is 4 test
This is 5 test
谢谢和亲切的问候,