I have been using the following in pandas to replace some character with another using regular expression:
df = df.replace(r'\t|\r|\n', '', regex=True)
But as mentioned here, we have mask in dask. But I do not find how I can use regex in this function. Any help is appreciated.