⚠️ Precondition: formatting with stylelint Find ^([\s]{2,})(?!.*[&@])(.*?)([,{])\n Replace $1& $2$3\n
PostCSS Nesting
VS Code
Example
https://regex101.com/r/G473IV/1/