Using regex to filter an ISO8601 date

It can be useful to find a pattern such an ISO8601-formatted date in a set of files. I discovered it is possible to do that in the atom editor:

• simply use that code to find the YYYY-MM-DD part:

(\d{4})-(\d{2})-(\d{2})