[OT] REGEX Help

Yang Xiao yxiao2004 at gmail.com
Fri Mar 18 16:13:26 UTC 2005


Hi all,
I can't remember how to strip the full path out and just get the file
name in something like this
/fullpath/to/file or /full/path/to/file.ext
Can anyone provide a regex that will get me just file or file.ext.


Many thanks,

Yang




More information about the fedora-list mailing list