asab has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks
I am looking for regex for the below experession.
/tom/john/jones/fredy/sam-joe/Install-xyz-opq.zipI want extract the Install-xyz-opq.zip from the above pattern
conditions are number of directories from / to Install-xyz-opq.zip is always variable. directory names may contain - and other allowed special character in linux. but the pattern always ends with Install-xyz-opq.zip. can you guys please provide me with this RegEx.
Thanks in advance
asab
Back to
Seekers of Perl Wisdom