Your problem is you have the string Nokian
being replaced before the string Nordman Nokian
. Because the single word Nokian
is being matched first, the string is being transformed to Nordman NORDMAN 4 XL, and str_replace
is unable to match the string Nordman Nokian
. Just switch the order of your array items
I.E.
..."Nordman Nokian ","Nokian "...