Do a simple replace action for _FILENAME
This adds a blank before and after each hyphen .
Now do a second replace for _FILENAME:
means that you hit the spacebar.
You do not tell us where you find the "links". Is this part of a field? Is it a field of its own?
If this is a string constant, you can easily replace it with a simple replace:
If you want to remove any string following the www then use an action of the type "Replace with regular expression" for the field.
(leave that empty)
This removes any text behind the www - so it should be the last string part. Otherwise you loose information.