Hmm. I forgot so I'll ask it here.
How do I fetch everything between 2 tags?
Say I have a variable with [title]titlehere[/title][body]body here[/body] in it
How do I fetch only everything between the title tags?
I think this reg. exp is good enough:
everything between is stored in: $match
It should be the whole string like:
$input = "fdsfjkhds[tag]wo s348723 word[/tag]djfkhsfjds";