I have a text like this
[name:roccos] [phone:123324324] [tags:abc def ghi] [id:value]
How can i find the values of name, phone, etc using php, So i should have variable like this $name = 'roccos'
$phone = '123324324'
, I can either do this for all separately or is there any way to automatically get all variables along with value automatically...
Ex : In this text [abc:def] [phone:123456]
everything before the colon :
will be the variable name and after the colon will be it's value => $abc = 'def'
$phone = '123456'