返回

正则表达式-使用php拆分字符串取决于pattren

发布时间:2022-07-06 17:44:48 188

我这里有这段代码,我想将其拆分为元素,作为一个数组的一部分

Duration : From : 21-06-2022 To : 27-06-2022 ++++ End of Statement ++++ Name: Ahmed ALI OSMAN TAHA Customer No: 1500386 Account Type: Savings Account Depo Currency: USD Issue Date: 27-06-2022 Tran DateDescriptionDebitCreditBalance 25-Jun-2022UGANDABANK Fees - Funds Transfer - MB #20010598278 , Transfer ref.250922020633209684 Transfer ref.250922020633209684 10.0143,956.43 25-Jun-2022Funds Transfer - MB # 20010598278,Transfer ref.250922020633209684 Transfer ref.250922020633209684 4000.0143,966.43 24-Jun-2022UGANDABANK Fees - BP #20278550446 , Transfer ref.#Bashaer 897906 Transfer ref.#Bashaer 897906 10.0147,966.43 24-Jun-2022 BP # 20278550446,Transfer ref.#Bashaer 897906 Transfer ref.#Bashaer 897906 20000.0147,976.43 23-Jun-2022UGANDABANK Fees - -Zain #20277797569 , Transfer ref.#Zain Bill 900946824 Transfer ref.#Zain Bill 900946824 10.0167,976.43 23-Jun-2022-Zain # 20277797569,Transfer ref.#Zain Bill 900946824 Transfer ref.#Zain Bill 900946824 86700.0167,986.43 23-Jun-2022Funds Transfer - MB # 20010564267,Transfer ref.235022180616750305 Transfer ref.235022180616750305 10000.0254,686.43 23-Jun-2022UGANDABANK Fees - Funds Transfer - MB #20010563561 , Transfer ref.23302218068730100006 Transfer ref.23302218068730100006 10.0244,686.43 23-Jun-2022Funds Transfer - MB # 20010563561,Transfer ref.23302218068730100006 Transfer ref.23302218068730100006 3325.0244,696.43 23-Jun-2022UGANDABANK Fees - Funds Transfer - MB #20010563116 , Transfer ref.232022180646120606 Transfer ref.232022180646120606 10.0248,021.43 23-Jun-2022Funds Transfer - MB # 20010563116,Transfer ref.232022180646120606 Transfer ref.232022180646120606 6652.0248,031.43 23-Jun-2022Funds Transfer - MB # 20001957673,Transfer ref.23312214061431100031 Transfer ref.23312214061431100031 41200.0254,683.43 22-Jun-2022UGANDABANK Fees - Funds Transfer - MB #20010530021 , Transfer ref.225322200629053100005 Transfer ref.225322200629053100005 10.0213,483.43 22-Jun-2022Funds Transfer - MB # 20010530021,Transfer ref.225322200629053100005 Transfer ref.225322200629053100005 50000.0213,493.43 22-Jun-2022Funds Transfer - MB # 20001728503,Transfer ref.22232216065923296 Transfer ref.22232216065923296 248000.0263,493.43 21-Jun-2022UGANDABANK Fees - Funds Transfer - MB #20010480587 , Transfer ref.211622150699216100013 Transfer ref.211622150699216100013 10.015,493.43 21-Jun-2022Funds Transfer - MB # 20010480587,Transfer ref.211622150699216100013 Transfer ref.211622150699216100013 50000.015,503.43 21-Jun-2022Funds Transfer - MB # 20003484214,Transfer ref.211322150645513576 Transfer ref.211322150645513576 7000.065,503.43 © Bank of UgandaPage 1

我希望获得如下所示的每个转换细节,并将其推入数组中,以便我可以使用循环函数做一些事情:

25-Jun-2022UGANDABANK Fees - Funds Transfer - MB #20010598278 , Transfer ref.250922020633209684 Transfer ref.250922020633209684 10.0143,956.43 

知道吗?

特别声明:以上内容(图片及文字)均为互联网收集或者用户上传发布,本站仅提供信息存储服务!如有侵权或有涉及法律问题请联系我们。
举报
评论区(0)
按点赞数排序
用户头像