I have three string lines here.
line 1 : 56,C0348|23064,C0319|23182,C0127|1476,C0378|2004,C0260|3306,C0091|23179,C0525|
line 2 : 8966,T4992|4446,T4992|4445,E|8965,E;T4992|8964,E;C0163|
line 3 : 920,M128;C0323|
Now, my goal is to remove strings that have a form of "Tnumber|","Cnumber|" , "Mnumber|".
For example, in the first line, i want to delete "C0348|", "C0319|", "C0127|", "C0378|", "C0260|", "C0091|", "C0525|
In the second line , T4992|, T4992, T4992|, C0163|
In the third line, M128; C0323|
How can i remove those strings from each string line?
I think i need to use regular expression, right? but, i still can not solve this problem.
Could you please help me?

