I have a quite in depth script that uses allot of PREG replace to output what I need.
The only problem is that i need some stop words (omitted words) from the preg replace but I dont know how to do it.
This is the code
Code: Select all
$dataa = preg_replace('/(\b.{1,2}\s)/',',',$dataa);
But I need it to keep the word
[text]St[/text]
Thank you