Close enough to perl, I hope...
I'm trying to string the filename from the path:
/dir/subdir/file.ext => file.ext
with
/\w+\.\w+$/
and am getting the entire path returned. I am falling asleep reading the perldoc regex "intro," "tutorial," full doc, and even Jeffrey Friedl's "Mastering Regular Expressions." This can't be this difficult nor unusual! Why can't I find an example somewhere or get this to work? Better yet, somebody please profer a solution? :-)
mark
|
- RegEx Hell Mark Galbreath
- Re: RegEx Hell Tom Schindl
- [OT]Re: RegEx Hell Tom Schindl
- Re: [OT]Re: RegEx Hell John ORourke
- Re: RegEx Hell Geoffrey Young
- Re: RegEx Hell David Nicol
- Re: RegEx Hell Steven Lembark
- Re: RegEx Hell Tyler MacDonald
- Re: RegEx Hell Steven Lembark
- Re: RegEx Hell Mark Galbreath
- Re: RegEx Hell Mark Galbreath