def extract_tags(tag_string)
      opts[:tags].gsub!(',', '/') if opts[:tags]
      tags = (tag_string << opts[:tags]).compact
                                        .join('/')
                                        .gsub(/[^a-zA-Zäöü&#\/, ]/, " ")
                                        .squeeze(" ")
                                        .split('/')

      if tags.empty? || opts[:level] == 0
        "Default"
      else
        level = [opts[:level] || tags.size, tags.size].min
        tags[-level..-1].join(',')
      end

    end
def extract_tags(tag_string)
      opts[:tags].gsub!(',', '/') if opts[:tags]
      tags = (tag_string << opts[:tags]).compact
                                        .join('/')
                                        .gsub(/[^a-zA-Zäöü&#\/, ]/, " ")
                                        .squeeze(" ")
                                        .split('/')

      if tags.empty? || opts[:level] == 0
        "Default"
      else
        level = [opts[:level] || tags.size, tags.size].min
        tags[-level..-1].join(',')
      end

    end
Extracts the tags from a tag string. If a level is provided during
 initialization the level is restricting the count of tags imported based
 on the level value. If tags are provided these are added to the end of
 the tag_string. If a level is provided these tags are considered first