Epic interview question

regular expression matching questions. You need to run the code