How to test regular expressions before production
Regular expressions power search-and-replace, form validation, log parsing and web scraping. A regex that works on three test cases often fails on the fourth because of edge cases: empty strings, Unicode characters or greedy matching.
A live tester shows every match highlighted in your sample text. You see capture groups numbered so you know which part of the pattern matched which substring. This is faster than console.logging RegExp.exec() in a loop.