I'm developing a
mod script atm which adds extra bb code tags (wont say what it is atm) but I've run into a little problem. I was originally planing to use match and substr to try this, but I'm hoping there's a better way.
What I'm stuck with is actually getting the text from inside the tags, for example the inside of [tag]hi[/tag] would be hi.
Anyone know an easy way to do this? (And that'll save me having to read up on Regular Expressions
)