Google interview question

Regular Expression Match