Skip to content

Instantly share code, notes, and snippets.

@filipeandre
Forked from marcelotmelo/RFC 3339 regex
Created February 7, 2020 10:53
Show Gist options
  • Save filipeandre/21f7726a10083124abe491fbbab58cd2 to your computer and use it in GitHub Desktop.
Save filipeandre/21f7726a10083124abe491fbbab58cd2 to your computer and use it in GitHub Desktop.
^([0-9]+)-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])[Tt]([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]|60)(\.[0-9]+)?(([Zz])|([\+|\-]([01][0-9]|2[0-3]):[0-5][0-9]))$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment