My understanding is that regex can search a vault but not inside a single note.
So a global search such as:
/\d{4}-\d{2}-\d{2}/
…works on the vault but not within a note itself (CMD F).
EDIT: I was writing this post when @Craig replied with the more or less same answer. Left it here because …