Good day.
I'm having a problem with a pattern.
Let's assume I have a string like this:
Hello [person]Name[/person], I don't know regex like [person]Another_name[/person] does.
I need to preg_split
this string to get an array like this:
Array(0 => 'Name', 1 => 'Another_name');
I've been trying to solve this for some time and still no luck.
Pardon for my ignorance. Any kind of help is kindly appreciated.