I have a textarea passed to a variable, and I need help getting a piece of text out of it.
I have a special note in the textarea, and I have put it in like this: [note]this is the special note[/note]
I want to get that note out of the textarea, can this be done with preg_match and if so, what syntax code would do the trick?
Also, I can change the format of that note tag, from [note][/note] to something else if it is easier.