Regular Expressions 101

Cloudfront URL pointing to S3

Open Workspace
  • Python
  • Match
0

Regular Expression

r"
https://(?P<url_prefix>.+)\.cloudfront.net/(?P<folderpath>.+)/(?P<filename>.+)\..+
"
gm

Description

Public Cloudfront URL that redirects to a S3 file

Submitted by Anonymous