I want to use the first line of a text file as the new name of the file.
I have this working with one error.
At the moment I create a Custom Token and use Anywhere as the contents of the token to match the pattern. As I understand from an earlier discussion since this is specified as the first occurrence it will capture the first line up to the end, which it seems to do.
Then in the actions I have simply
"Rename" with pattern "Custom Token"
Note that in the renaming I'm not adding an extension to the file.
Results:
If the first line of the text file is Link Test
then the renaming process creates "Link Text/"
Don't know why that slash is being added but is there a way to remove it?