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
In reply to RegEx is required for the below pattern by asab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |