I have a pattern as follows:
document_data/Filename.xyz
I'm trying to write a regular expression that will only return "Filename". I have one that gives me just "xyz" and it works, and I have one that gives me "Filename.xyz" but I"m having trouble chopping off the xyz to just get Filename.
[^/]+$ gives me "Filename.xyz"
\[^.]+$ gives me xyz
I'm not a regex person so any help would be great! Thanks!