I know regex

if you were wondering… I fucking know regex. Two years ago I didn’t. I remember wondering if I would ever understand those cryptic patterns.

const clean = str.replace(/f[u]+ck\S*/g, '*')

I made it <3