ankane / logstop

Keep personal data out of your logs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrubbing international format phone numbers

hashwin opened this issue · comments

The current phone regex does not match international format like "+14129996294".
Maybe this regex could be added as a separate option:

/^\+(?:[0-9] ?){6,14}[0-9]$/

Hey @hashwin, thanks for the suggestion! Added support for scrubbing E.164 numbers in the commit above.