That would be:
[^a-zA-Z0-9/-]+
[^ ] at the start of a character class negates it – it matches characters not in the class.
See also: Character Classes
That would be:
[^a-zA-Z0-9/-]+
[^ ] at the start of a character class negates it – it matches characters not in the class.
See also: Character Classes