Skip to content

Profanity filter using NSRegularExpressions in Swift

Notifications You must be signed in to change notification settings

abeticlairon/ProfanityFilter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

ProfanityFilter

Profanity filter written in Swift using NSRegularExpressions

Example usage:

let testWord = "naughty"

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

About

Profanity filter using NSRegularExpressions in Swift

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%