Hi: I have a strings such as Formatting_l_cs.cat Formatting_l_da.cat Formatting_l_de.cat Formatting_l_zh-tw.cat I need to extract the substring before the "." and after the last occurence of "_" ie in the above cases, it would return "cs" or zh-tw" etc.
How can I achieve this? Thanks!