Forum Moderators: coopster
i need to get rid of the '_xx/' part. with that $pat pattern, a preg_replace($pat,$rep,$url) returns '/products/computers//'
and worst, if the $url changes to '/products/_es/computers/' it returns '/products//computers/' while it should'nt to ANYTHING at all.
the preg_replace must only work when the _XX/ is at the end of the $url.
i need help in that, thanks!
andres