NewWorkspaceProjectUtils { public static String sanitizeProjectName(final String projectName) { return projectName != null ? projectName.replaceAll("[^A-Za-z0-9_\\-.]", "") : projectName; }  static String sanitizeProjectName(final String projectName);  }
@Test public void sanitizeProjectNameTest() { assertEquals("project-name", NewWorkspaceProjectUtils.sanitizeProjectName("project-n a*m?e!")); }