WebKul interview question

Dynamic Pattern questions.......