Find all files containing phone numbers

To find all files in a folder containing phone numbers do

Example files containing the phone numbers: +468 444 322, +472 422 5666, +4422 44 44 211

$ grep -r "^[+].[0-9]./s.*.[0-9]$"
This entry was posted in Linux commandline. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *