$string = '"Above all," said British Prime Minister David Cameron, "what I think matters is building the evidence and the picture so we hold this criminal regime to account, and to make sure it is held to account for crimes that it is committing against its people." He spoke to reporters outside a meeting of leaders of the European Union in Brussels, Belgium.';
How do I cut this string to specified number of words? 5 or 10 for example.
And remove characters like "&*$%>. Some in-php function?
Should work for non-english languages too.
Try this: