Can you please give an example of what you mean
because I can not really follow it.
I have read those two functions on the manual
but I can not see how to apply them to my case.
BTW - I should have said this is for two-word phrases
(not three)
And the regex is:
preg_match_all("#((?:\b\w{1,20}\b\s+){2})#", $data, $matches)
which produces this output:
[32] => technical support [33] => services attempt [34] => to help
[35] => the user [36] => solve specific [37] => problems with
As you can see, the data is just being divided into two word chunks.
And I am missing half of the possible phrases eg "support services"
is not reported.
I would like to move from that, to this:
[32] => technical support [33] => support services [34] => services attempt
[35] => attempt to [36] => to help [37] => help the [38] => the user
Thanks for helping. :=)