Skip to main content
  • 3,379 Posts
  • 13,825 Replies
3379 Posts
Regular Expression for parsing multiple filenames from text

With FME 2015 Desktop, I use the StringSearcher do parse an attribute containing the below text:-rw-rw----    1 20712    110          1102 Dec 15 09:08 VPDZ22.201712150908.zip-rw-rw----    1 20712    110          1103 Dec 15 09:18 VPDZ22.201712150918.zip-rw-rw----    1 20712    110          1102 Dec 15 09:29 VPDZ22.201712150929.zip-rw-rw----    1 20712    110          1145 Dec 15 09:38 VPDZ22.201712150938.zip-rw-rw----    1 20712    110          1238 Dec 15 09:48 VPDZ22.201712150948.zipHereby I want to obtain a list with all names of the zip-files within this text.Therefore I try Regular Expressions such as e.g.(VPDZ22.[0-9]{12}.zip|asc)+I expect to obtain a list with 5 objects containing the 5 different zip-filenames. However, I always obtain a list containing only one single object, which is the first of the wanted zip-filenames:VPDZ22.201712150908.zipHow am I to design the R

Badge Winners

Show all badges

Community Stats

32,329
Posts
123,141
Replies
40,359
Members