I have a txt file contains many strings(every string lies in a line). A typical string has this shape:
sno_Int-INT1_Exp-INT2_INT3.fits.fz_ovsc_rms_D4_D5_D6_D7_D8_D9
In the above string, "INT1", "INT2" and "INT3" are all integer types and their values might variant for each string in the text file, "D4 - 9" are double type(not fixed value also).
What I need to do is to change the above string to a new string like :
INT3_ovsc_rms_D4_D5_D6_D7_D8_D9
Can anybody tell me how to do it ?
Thanks!