how to for this problem where mandatory pattern is "nick" based on which its transposed to column and pattern "MY_" with "MX_" (MX_ pattern sho