JSadvancedes2020
Modern regular expressions
Regex grew up.
Named groups, matchAll, lookbehind, the d flag, and callback replacements turn regex from write-only line noise into readable, structured parsing.
Named capture groups
JSintro Press Run to execute
m.groups yields { year, month, day } so y=2026 m=06 d=19 reads straight from the names, and the $<name> syntax reorders the parts into 19/06/2026 without a single numeric index.