code: func New(ctx context.Context, next http.Handler, config config.StripPrefixRegex, name string) (http.Handler, error) {
  	middlewares.GetLogger(ctx, name, typeName).Debug("Creating middleware")
  
  	stripPrefix := stripPrefixRegex{
  		next:   next,
  		router: mux.NewRouter(),
  		name:   name,
  	}
  
  	for _, prefix := range config.Regex {
  		stripPrefix.router.PathPrefix(prefix)
  	}
  
  	return &stripPrefix, nil
  }
docs: // New builds a new StripPrefixRegex middleware.