code: private String replaceNonAlpha(String name) {
          String modifiedName = null;
          if (p != null)
              modifiedName = p.matcher(name).replaceAll("_");
          return modifiedName;
      }
docs: Replace non-alphanumeric characters in a string with underscores.
  
  @param name
  @return modified name