Hi,
I want to change some file names from lower case to upper case, I use eregi() (for some reason, strtoupper() is not appropriate).
ereg_replace("(/[a-zA-Z0-9-]+.(doc|wpf))", $replace, $content);
My question is, how to access the string that match the regular expression? \0 ? So that I can set $replace to strtoupper(\0).
Thanks,
Michael