WebKul interview question

Initially I got Dynamic Pattern Question