Create .txt files by pasting [Closed]

Posts
1
Registration date
Sunday November 19, 2017
Last seen
November 19, 2017
-
If I copy a list of words like this as an example:

Activities
Artists
Classes
Childcare
Events
General
Groups
Lost+Found
Local
Musicians
News
Pets
Politics
Ride share
Volunteer

I would need a software that can create 15 new .txt files, each new one named by the words of each line. So would look like this:

Activities.txt
Artists.txt
Classes.txt
Childcare.txt
Events.txt
General.txt
Groups.txt
Lost+Found.txt
Local.txt
Musicians.txt
News.txt
Pets.txt
Politics.txt
Ride share.txt
volunteer.txt

Any spaces or special characters like / (back slash) in the copied words, should be automatically replaced by a - and any extra spaces should be cut out, to keep words together, when naming the new .txt files.

Can someone please help me with this?

Have a great day,
See more