Skip to content

eac/credit_card_sanitizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

credit_card_sanitizer

Remove credit card numbers from user text.

a = "Hello my card is 12 345123 451234 8 maybe you should not store that in your database!"
CreditCardSanitizer.new('X').sanitizer.sanitize!(a)
a == "Hello my card is XX XXXXX XXX234 8 maybe you should not store that in your database!"

Build Status

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages