I have 2 strings of form:
Beta_Gambus_teta_some_changeable_string_2017.02.1276 and
Beta_Gambus_teta__some_changeable_string_update_2017.02.1276
Example:
Beta_Gambus_teta_wqtr_2017.02.1276.ctr
Beta_Gambus_teta_wqtr_update_2017.02.1277.ctr
Beta_Gambus_teta_tpsedr_2017.02.1276.ctr
Beta_Gambus_teta_tpesdr_update_2017.02.1277.ctr
Beta_Gambus_teta_cnmsr_2018.02.1279.ctr
Beta_Gambus_teta_cnms_update_2018.02.1279.ctr
I need to catch with regex the ones with 'update' in them separated from the ones without 'update' in them.
I'm using ^.+_(.+)\.ctr$ but it is to broad.
Beta_Gambus_teta?"update" in s?