> > $qq = "V:\\memo\\F0001\\abcdef.com"; > print "$qq<br>\n"; > $qx = ereg_replace("V:\\",'',$qq); > print $qx; > > out: > > V:\memo\F0001\abcdef.com > Warning: Trailing backslash in /home/rodolfo/public_html/test.php on line > 5
I think it should be: $qx = ereg_replace("V:\\\\",'',$qq); Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com > > Regards, > Rodolfo. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php