Mark Rogers wrote:
Is there a way to invert [:punct:] somehow so that [^-[:inverted-punct:]]+ would work
Solved it within seconds of hitting send...
[^-[:^punct:]]+ .. does what I want, but it seems not to be supported by ereg_replace; it was trivial to change to preg_replace however.