Regular expressions (Regex)

  • search pattern
  • matches characters in a string

with ES2018:

  • lookbehinds
  • named capture groups
  • s flag, dot all mode

lookaheads / lookbehinds

  • match only if condition before / behind ??
  • e.g. start and end anchors