$text_string = "One One One,One.One OneTwo, Onetwo .Onetwo TwoOne One";
I want to replace the word "One" with "Three" which is alone or between special characters or at the beginning/ending of the string. Have anybody an idea?
The result must be:
$text_string = "Three Three Three,Three.Three OneTwo, Onetwo .Onetwo TwoOne Three";