Matching of subtitle and video files using regular expressions