My original string:
var_string= '[{"ImageNumber":"1","ImageLink":"[https://files.abc.com/flow1.png"}](https://files.abc.com/flow1.png), {"ImageNumber":"2","ImageLink":"[https://files.xyz.com/flow2.png"}](https://files.xyz.com/flow2.png)]'
This result that i want :
var_result= '[{"ImageNumber":"1","ImageLink":"(https://files.abc.com/flow1.png), {"ImageNumber":"2","ImageLink":"https://files.xyz.com/flow2.png)'
i have tried with:
preg_replace('/[(.*?)](.*?)/g', '',$var_string)
but result = null
Please help
Thank you
I want to remove all text like:
[https://files.abc.com/flow1.png"}]