News for hackers. Stuff that matters.
Re:ReX.js – Your RegEx companion by kbd on Monday November 19, 2018 @05:43PM (#18490405)
No need to escape the dashes btw:

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

There are no comments on this comment yet.