Maybe you can think of your capture problem in a different way then. Most likely, you want everything after the last "path separator" up until the double quotes:
TEXT:\s+".*?[\\/]([^\\/"]+)"
The filename can contain everything except a path separator (\ or /) and double quotes, and must be followed by double quotes.
In reply to Re^3: Regex to get file name from the path with spaces
by Corion
in thread Regex to get file name from the path with spaces
by szpt9m
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |