Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pii_team_t1.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def find_visa_mastercard(text) -> list:
def find_amex(text) -> list:
"""Finds all occurrences of an amex number in a text string"""
# match a 15 digit credit card number
return []
return re.findall(r'\d{4}-\d{6}-\d{5}', text)


def find_us_ssn(text) -> list:
Expand Down