Portfolio regex to exclude projects

I’m trying to configure portfolio manager using a regular expression to include all projects except for projects starting with a specific string.

  • SonarVersion: SonarQube 7.9.3 Enterprise edition
  • I want to configure portfolio manager to show all projects except those matching a string.
  • I’ve tried using various regex patterns to achieve this, but have not successfully excluded any projects.

[^ projectx]