how to explode string between delimiter "[" but i want delimiter not lost in example i have string like this
$str = "i want to show you my youtube channel : [youtube id=12341234] and my instagram account : [instagram id=myingaccount213]
i want result like this
[0]=>
string(61) "i want to show you my youtube channel : [youtube id=12341234]"
[1]=>
string(68) "and my instagram account : [instagram id=myingaccount213]"
if i use $tes = explode("]", $content); the "]" is lost