Test, validate and match regular expressions
This regular expression extracts the file name without its extension from a Unix-style file path or URL. It uses a positive lookahead to locate the final segment of the path (after the last forward slash), and then matches all characters up to the dot preceding the extension. It is useful for parsing file paths and isolating the core file name.