Hi Community,
I would like to ask how do we extract the character below , the pattern of the string is that there will be underscore for each string. The critieria is removing the all the character from the 7th underscore , counting from right.
Input
ANEK_1327d475_3d00_4acc_a63d_aa29cdb08fb3_8_0
ANLH_ae433e42_e16b_43ca_925c_301617fed3e9_9_0
LFA1_936d8b58_8c8b_4e88_af44_694af2623f33_5_0
SKB1_DKFJD_EIEI_f98cc426_b366_4853_8e25_d0342ae6093d_6_0
CSKS_KODK_EJEJEE_EEJEJE_DJDJD_1ec35287_9b35_4e65_a85e_0c63a5b1e5c5_3_0
Output
ANEK
ANLH
LFA1
SKB1_DKFJD_EIEI
CSKS_KODK_EJEJEE_EEJEJE_DJDJD
THnak you in advance