How would be get the ff using regex ? get string that starts with AT and ends with the number for example AT-210209-141 , AT-210209-421, AT-210209-423 . Also get the string starts with CMTRX like CMTRX00015591 , also starting with PMTRX like PMTRX0003232 and string starting with AONCUR like AONCUR-AP-34334. How do we dynamically do that ? any idea ? thanks.
#DATA
El AT-210209-141 ! General
o AT-210209-421 General
El AT-210209-421 General
o AT-210209-423 General
El AT-210209-423 General
AL CT-210209-423 General
El CMTRX0012323 General
o CMTRX00053233 General
El CMTRX00015591 General
El CMTRX00015591 General
El PMTRX0001223 General
El PMTRX0003232 General
El AONCUR-AP-34334 General
El AONCUR-AP-4343 General
El AONCUR-AP-23342 General
El AMPay00012345 General
AL L4-210209-423 General
AL TR-210209-423 General