I run this substitution command on Ubuntu 12.04.
$ sed -e "s/([a-zA-Z0-9.-/\\ :]+)/\1/g"
However, the following error is raised.
sed: -e expression #1, char 27: Invalid range end
I can remember the same expression works on MacOSX.
Can you describe why the command fails?