I'm a bit of a PHP part timer so if this is stupidly obvious then forgive me. Hopefully someone can help me! I want to return part of string a that i'm lifting out of a forum db table.
eg - text that is in the db
[color=red:5da1c4d043]Team Leader: [b:5da1c4d043]Ashley Peake[/color:5da1c4d043
I want to display all the text between the end ] and the beginning [ so i'm not displaying any of the forum tags.
so for the example text above i just want to display on my web page - 'Team Leader ' and 'Ashley Peake'
I've been trying explode but that doesn't seem to be suitable.
Many thanks for any help i get