Meteor

That is a good question. Sorry it was not very clear

 

Case 1 and case 2 is when substring("string",1,2)  = '66' and (substring("string",3,1) = "-" OR substring("string",3,1) = "|")

 

Case 3 is when substring("string",1,2)  = 'MX'