Regular expression tester

Enter /pattern/flags on the first line, ---, then sample text to find matches.