09-21-2012, 10:13 PM
Macro Macro
str Coll=
;Name.OfTheFile001
;NameOf.The_9File-02
;Name.OfThe.File.3
str match
foreach _s Coll
,findrx(_s ".*?(?=\d*$)" 0 0 match);;0 or more any character non-greedy (so doesn't capture the digits at the end), followed by 0 or more digits which are followed by end of the line
,out match