hm... this should work, notice the double quotes
echo preg_replace('/(.+?)(\..+?)/e', '"\1"."1"."\2"', $fn);
Lallous wrote:
> Oh well,
>
> I could have solved it w/ too many other methods, but how can I escape the
> \{occurence} as in my case?
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

