Test, validate and match regular expressions
This regex matches lines starting with 1 to 4 digits followed by an underscore and any remaining characters. With the global and multiline flags enabled, it independently evaluates each line, making it ideal for matching numbered entries like '001_track_1.mp3' in a list of filenames or sequential identifiers.