Regular Expressions 101

Community Patterns

Extract Bucket Name and Key from S3 URL

0

Regular Expression
Python

r"
https:\/\/(.?[^\.]*)\.(.?[^\/]*)\/(.*)
"
gm

Description

https:\/\/(.?[^\.]*)\.(.?[^\/]*)\/(.*)

Submitted by anonymous - 3 years ago