I attempted to replace all the spaces and brackets in a filename by underscores.
Regexp: [\s()]
Replacement: _
Old file name "some name.ext"
New file name "_.ext"
What is going wrong? I thought the regular expression should just match the spaces or brackets and replace them. That is how I've experienced using regular expressions in various programming languages.