Redacts credit card numbers from a given string
redact_creditcardnumber.Rd
Redacts credit card numbers from a given string
Arguments
- string
A character vector with, at most, one element. The input string to redact credit card numbers from
- hash_spotted
When TRUE, the redaction of the credit cards will be a hash of the redacted (Default False)
- replace_with
A character vector with, at most, one element. When hash_spotted is FALSE, this character vector will be the replacement redacted credit card numbers.