I would have written that as:
Code:
sed 's,downloads/index.php?folder/virginia/200706,dwnld/dl.php?p=,g' <va_200706.php >va_200706_new.php
The principle is the same: the 1st character after the 's' is the regex delimiter. AFAIK,
any character may be chosen. I think using '\' is not desirable because then it cannot be used in its normal "escape character" role.
I have come to prefer ',' as my personal standard delimiter, but I have friends who use '!' or '#'. It's a matter of taste.
Although you would not want to use it here because it would require escaping the '?', you might also want to add the
sed "-r" to your repertoire -- see the man page.