Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
RegEx is required for the below patternby asab (Sexton) |
on Sep 28, 2011 at 14:00 UTC ( [id://928330]=perlquestion: print w/replies, xml ) | Need Help?? |
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
|
|