(update: Explanation: the second means: one or more of everything but a slash up to the end of the string.)$file_path =~ /(.*)\/([^/]+)$/;
In reply to Re: dir / file split
by svenXY
in thread dir / file split
by camelcom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |