I have a file in below format:
PAY_ST:anytext123here:GREEN:againanytexthere
PAY_ORD:anyntext144here:GREEN:againanytexthere // <--- This type of record I want to extract
INT_ORD:anyntext1222here:RED:againanytexthere
I want to extract records only with first column text ends with ORD and 3rd column text is GREEN. In above example 2nd record.
Can someone help me provide a regex to use in textpad search?