I'm using the \((?!\s)([^()]+)(?<!\s)\) regular expression to match (string) but not ( string ) nor () when searching in Sublime Text.
As VS Code doesn't support backreferences in regular expressions, I was wondering how can modify the original regex to get the same result in this editor.
Any ideas?