Put in order · JavaScript and TypeScript course · Module 5: Advanced JavaScript

Advanced RegExp - Syntax with Flags

Arrange the elements of a regular expression with flags:

Items to put in order

  • ERROR
  • = /
  • const pattern
  • /gi

You can check the correct answer by solving this task in the CodeWorlds game.