Quite simple problem (but difficult solution): I got a string in PHP like as follows:
['one']['two']['three']
And from this, i must extract the last tags, so i finally got three
it is also possible that there is a number, like
[1][2][3]
and then i must get 3
How can i solve this?
Thanks for your help!
Flo
Your tag is
\[[^\]]+\].3 Tags are:
(\[[^\]]+\]){3}3 Tags at end are:
(\[[^\]]+\]){3}$N Tags at end are:
(\[[^\]]+\])*$(N 0..n)Example: