in reply to needing to zip files in a series that begin with the same IP address

You need to escape the . like this: \.. At the end of your regex, you're matching everything left with the /.*/.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.