I ran this substitution command on Ubuntu 12.04.
$ sed -e "s/([a-zA-Z0-9.-/\\ :]+)/\1/g"
However, the following error occurs.
sed: -e expression # 1, char 27: Invalid end of range
I remember that the same expression works on MacOSX.
Can you describe why the team is not working?
regex ubuntu sed substitution
JJD May 19 '13 at 17:29 2013-05-19 17:29
source share