Process image filenames

Input

One line per file path

Output

Extracted filenames

Truncation options
Remove prefixes Can be a comma separated list of text. (e.g. "image-, file-")
Remove suffixes Can be a comma separated list of text. (e.g. "-m, -c")
Remove duplicates Duplicates removed after truncation.