Test, validate and match regular expressions
This regex matches lines starting with an en dash character (–) followed by one or more characters and ending with a space. With the global and multiline flags enabled, it's designed to identify dialogue lines across multiple lines of text, commonly used in scripts, transcripts, or formatted documents where dialogue is indicated by en dashes.