Skip to content

Instantly share code, notes, and snippets.

@mohdsanadzakirizvi
Created January 26, 2020 08:19
Show Gist options
  • Save mohdsanadzakirizvi/035e44ff34d0f05510ed5d50fc182e29 to your computer and use it in GitHub Desktop.
Save mohdsanadzakirizvi/035e44ff34d0f05510ed5d50fc182e29 to your computer and use it in GitHub Desktop.
import re
re.findall(r"(\d{4})-(\d{2})-(\d{2})", date)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment