Put datetime regex in seperate variable