我有一個列表(從數組值),其看起來像這樣返回後字符串:只有圖案/關鍵詞
order_reply1={order_tag=1286955
order_reply2={order_tag=1286956
order_reply3={order_tag=1286957
order_reply4={order_tag=1286958
order_reply5={order_tag=1286959
order_reply6={order_tag=1286960
order_reply7={order_tag=1286961
由此,我想返回後order_tag =的值。我怎麼能這樣做呢?在這個「關鍵字」之前,我不需要任何東西。原因是我希望返回的標籤保持與這些引用查詢數據庫。
有幾種在Perl中完成這些的方法,你已經嘗試了哪些代碼?你卡在哪裏? –