$ node > '02-14-1924'.match(/\d{2}-\d{2}-\d{4}/) [ '02-14-1924', index: 0, input: '02-14-1924', groups: undefined ]