text: const regex = {
      //eslint-disable-next-line
      URL: /^(http:\/\/www\.|https:\/\/www\.|http:\/\/|https:\/\/)?[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}(:[0-9]{1,5})?(\/.*)?/i,
      // eslint-disable-next-line no-useless-escape
      DOI: /^\b(10[.][0-9]{4,}(?:[.][0-9]+)*\/(?:(?!["&\'<>])\S)+)\b$/i, //source: https://stackoverflow.com/questions/27910/finding-a-doi-in-a-document-or-page
      PERMALINK: /^[a-zA-Z0-9_]+$/, // used to validate the observatory and organization slug
      TIB_URL: /^(https?:)?\/\/av\.tib\.eu(\/(media|player)?(\?.*)?)\//,
      YOUTUBE_URL: /^(https?:)?\/\/(www.)?youtube\.com\/watch\?v=/,
      DAILYMOTION_URL: /^(https?:)?\/\/(www.)?dailymotion\.com\/video\//,
      VIMEO_URL: /^(https?:)?\/\/(www.)?vimeo\.com\//,
      IMAGE_URL: /^(https):(\/\/[^"']*\.(?:png|jpg|jpeg|gif|svg))/i,
      PROPERTY_PATTERN: /^#P([0-9])+$/,
      RESOURCE_PATTERN: /^#R([0-9])+$/,
      CLASS_PATTERN: /^#C([0-9])+$/,
      MINIMUM_LENGTH_PATTERN: 3
  };
  export default regex;
  