Also I tried a FR function
Code:
import regex
def replace(match, number, file_name, metadata, dictionaries, data, functions, *args, **kwargs):
return match.group().replace('–',' ').replace('—',' ').replace('-',' ').replace(' {2,}',' ')
which actually seems to replace the dashes, but then the remove multiple spaces piece on the end doesn't seem to do anything
So I suspect that I'm missing something fundamental here