Created
November 13, 2019 14:27
-
-
Save JohnPreston/ebbf8e7499aee697eda207f3f1eee135 to your computer and use it in GitHub Desktop.
S3PathRegex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#For specific file extension | |
(^(s3:\/\/)([a-z0-9.-]+)(\/+)?(\/[a-zA-Z0-9.-_\/]+(\/)?)?(\/)([\w-_.]+.sql)) | |
#For specific file extension or no extension at all | |
(^(s3:\/\/)([a-z0-9.-]+)(\/+)?(\/[a-zA-Z0-9.-_\/]+(\/)?)?(\/)([\w-_.]+)(.zip)?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment