const regexForSeo = [
  {
    title: 'lesson.regexForSeo.starter.title',
    description: 'lesson.regexForSeo.starter.description',
    content: 'Understand? OK or NOT',
    initialFlags: 'g',
    flags: 'g',
    hiddenFlags: true,
    regex: ['OK'],
    answer: ['OK'],
  },
  {
    title: 'lesson.regexForSeo.usage.title',
    description: 'lesson.regexForSeo.usage.description',
    content: 'Google Analytics\nGoogle Data Studio\nGoogle Sheets\nGoogle Search Console\nAhrefs',
    initialFlags: 'gm',
    initialValue: '^Google',
    cursorPosition: 7,
    flags: 'gm',
    readOnly: true,
    noHint: true,
    hiddenFlags: true,
    regex: ['^Google'],
    answer: ['Google', 'Google', 'Google', 'Google'],
  },
  {
    title: 'lesson.regexForSeo.basics.title',
    description: 'lesson.regexForSeo.basics.description',
    content: 'Yes or No?',
    initialFlags: 'g',
    flags: 'g',
    hiddenFlags: true,
    regex: ['Yes'],
    answer: ['Yes'],
  },
  {
    title: 'lesson.regexForSeo.or.title',
    description: 'lesson.regexForSeo.or.description',
    content: 'regex\nseo\nregular expression',
    initialFlags: 'g',
    flags: 'g',
    hiddenFlags: true,
    regex: ['seo|regex', 'regex|seo'],
    answer: ['seo', 'regex'],
    videoURL: 'https://www.youtube.com/embed/uRbNjP-dvR0',
  },
  {
    title: 'lesson.regexForSeo.optional.title',
    description: 'lesson.regexForSeo.optional.description',
    content: 'what is http\nwhat is https\n what is html',
    initialFlags: 'gm',
    initialValue: 'https',
    flags: 'gm',
    cursorPosition: 5,
    hiddenFlags: true,
    regex: ['https?'],
    answer: ['http', 'https'],
    videoURL: 'https://www.youtube.com/embed/86eOX7NvCiY',
  },
  {
    title: 'lesson.regexForSeo.any.title',
    description: 'lesson.regexForSeo.any.description',
    content: 'how to write regex\nhow to write regexp\nhow to write book review',
    initialFlags: 'gm',
    flags: 'gm',
    cursorPosition: 13,
    initialValue: 'how to write ',
    hiddenFlags: true,
    regex: ['how to write .*'],
    answer: ['how to write regex', 'how to write regexp', 'how to write book review'],
    videoURL: 'https://www.youtube.com/embed/df-7m24TyQw',
  },
  {
    title: 'lesson.regexForSeo.contains.title',
    description: 'lesson.regexForSeo.contains.description',
    content: 'what is regex?\ni want to buy a boat\nhow to buy a new phone',
    initialFlags: 'gm',
    flags: 'gm',
    cursorPosition: 2,
    initialValue: '.*.*',
    hiddenFlags: true,
    regex: ['.*buy.*'],
    answer: ['i want to buy a boat', 'how to buy a new phone'],
    videoURL: 'https://www.youtube.com/embed/jNgTzFWeMyU',
  },
  {
    title: 'lesson.regexForSeo.negated.title',
    description: 'lesson.regexForSeo.negated.description',
    content: '1. http://testdomain.com\n2. https://testdomain.com',
    initialFlags: 'gm',
    flags: 'gm',
    cursorPosition: 4,
    initialValue: 'http.*',
    hiddenFlags: true,
    regex: ['http[^s].*'],
    answer: ['http://testdomain.com'],
    videoURL: 'https://www.youtube.com/embed/EFEOVild5nU',
  },
  {
    title: 'lesson.regexForSeo.caret.title',
    description: 'lesson.regexForSeo.caret.description',
    content:
      'http://www.google.com/search?q=https\nhttps://developer.mozilla.org/en-US/docs/Glossary/http \nhttp://httpstatus.io/\nhttps://ahrefs.com/',
    initialFlags: 'gm',
    initialValue: 'http[^s].*',
    flags: 'gm',
    hiddenFlags: true,
    regex: ['^http[^s].*'],
    answer: ['http://www.google.com/search?q=https', 'http://httpstatus.io/'],
    videoURL: 'https://www.youtube.com/embed/3UUcxGUOVmE',
  },
  {
    title: 'lesson.regexForSeo.dollarAndEscape.title',
    description: 'lesson.regexForSeo.dollarAndEscape.description',
    content:
      'https://www.google.com/search?hl=en&q=html\nhttps://testsite.com/learn-html.htm\nhttps://developer.mozilla.org/en-US/docs/Web/html\nhttps://learnhtmltestsite.com/learn.html',
    initialFlags: 'gm',
    initialValue: '.*.htm',
    flags: 'gm',
    cursorPosition: 2,
    hiddenFlags: true,
    regex: ['.*\\.htm$'],
    answer: ['https://testsite.com/learn-html.htm'],
    videoURL: 'https://www.youtube.com/embed/Tgi3WZ_LFHc',
  },
  {
    title: 'lesson.regexForSeo.limitation.title',
    description: 'lesson.regexForSeo.limitation.description',
    content:
      'https://ahrefs.com/dashboard\nhttps://ahrefs.com/site-explorer\nhttps://ahrefs.com/keywords-explorer\nhttps://ahrefs.com/site-audit\nhttps://ahrefs.com/rank-tracker\nhttps://ahrefs.com/content-explorer',
    initialFlags: 'gm',
    initialValue: '^.$',
    flags: 'gm',
    cursorPosition: 2,
    hiddenFlags: true,
    regex: ['^.{35}$'],
    answer: ['https://ahrefs.com/content-explorer'],
    videoURL: 'https://www.youtube.com/embed/bgNS7ciiZKE',
  },
  {
    title: 'lesson.regexForSeo.maxLimitation.title',
    description: 'lesson.regexForSeo.maxLimitation.description',
    content:
      'https://ahrefs.com/dashboard\nhttps://ahrefs.com/site-explorer\nhttps://ahrefs.com/keywords-explorer\nhttps://ahrefs.com/site-audit\nhttps://ahrefs.com/rank-tracker\nhttps://ahrefs.com/content-explorer',
    videoURL: 'https://www.youtube.com/embed/xSuTv-O0EUY',
    initialFlags: 'gm',
    initialValue: '^.$',
    flags: 'gm',
    cursorPosition: 2,
    hiddenFlags: true,
    regex: ['^.{1,35}$'],
    answer: [
      'https://ahrefs.com/dashboard',
      'https://ahrefs.com/site-explorer',
      'https://ahrefs.com/site-audit',
      'https://ahrefs.com/rank-tracker',
      'https://ahrefs.com/content-explorer',
    ],
  },
  {
    title: 'lesson.regexForSeo.minLimitation.title',
    description: 'lesson.regexForSeo.minLimitation.description',
    content:
      'https://ahrefs.com/dashboard\nhttps://ahrefs.com/site-explorer\nhttps://ahrefs.com/keywords-explorer\nhttps://ahrefs.com/site-audit\nhttps://ahrefs.com/rank-tracker\nhttps://ahrefs.com/content-explorer',
    initialFlags: 'gm',
    initialValue: '^.$',
    flags: 'gm',
    cursorPosition: 2,
    hiddenFlags: true,
    regex: ['^.{35,}$'],
    answer: ['https://ahrefs.com/keywords-explorer', 'https://ahrefs.com/content-explorer'],
  },
  {
    title: 'lesson.regexForSeo.robots.title',
    description: 'lesson.regexForSeo.robots.description',
    content:
      'User-agent: *\nDisallow: /*.pdf$\n\n----------\n\n/about.html\n/home.html\n/document.pdf\n/team.html\n/introduction.pdf',
    initialFlags: 'gm',
    initialValue: '/.*.pdf$',
    flags: 'gm',
    noHint: true,
    cursorPosition: 2,
    readOnly: true,
    visibleRegex: '/*.pdf$',
    hiddenFlags: true,
    regex: ['/.*.pdf$'],
    answer: ['/document.pdf', '/introduction.pdf'],
  },
  {
    title: 'lesson.regexForSeo.htaccess.title',
    description: 'lesson.regexForSeo.htaccess.description',
    content:
      'RewriteEngine On\nRewriteCond %{REQUEST_URI} .php$\nRewriteRule ^(.*).php$ /$1.html [R=301,L]\n\n----------\n\n/about.html\n/home.html\n/product/detail.php\n/shop/12/buy.php\n/profile.php',
    initialFlags: 'gm',
    initialValue: '^(.*).php$',
    flags: 'gm',
    noHint: true,
    cursorPosition: 2,
    readOnly: true,
    hiddenFlags: true,
    regex: ['^(.*).php$'],
    answer: ['/product/detail.php', '/shop/12/buy.php', '/profile.php'],
  },
  {
    title: 'lesson.regexForSeo.outro.title',
    description: 'lesson.regexForSeo.outro.description',
    interactive: false,
  },
  {
    title: 'steps.completeAllSteps.title',
    description: 'steps.completeAllSteps.description',
    image: '/Learn.webp',
    interactive: false,
  },
];

export default regexForSeo;
