$ ./guess_the_languageRegex
Regex · easy · #19

Which pattern matches file names that end in .js?

  1. /\.js$/
  2. /^\.js/
  3. /.js^/
  4. /$\.js/
$ anchors to the end of the string and \. matches a literal dot.
Play Regex ▸