I am looking for somebody to help me out to solve my question. I have a file (XXX_XXX_XXX_XX_YYY.ldt) and I need to select the last part of my filename. This means that I need the part between the last underscore and the . ?
File => XXKI_DDR_DERFG_YYY.ldt ---> From this file I need the YYY.
Can anyone provide me the regular expression for this.
PS: I use ANT from within Netbeans to get this. I have the ant-contrib library attached to my build file. This means that I use the PropertyRegex task to analyse my filename.
Olivier De Groef