Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 230 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 230 Bytes

ProfanityFilter

Profanity filter written in Swift using NSRegularExpressions

Example usage:

let testWord = "naughty"

// returns "😲😲😲😲😲😲😲"
let cleanedUpWord = ProfanityFilter.cleanUp(testWord)