I got this url: s3://dev-datalake-cluster-bucket-q37evqefmksl/raw/wfm/users.11315
I need to have the following values:
- dev-datalake-cluster-bucket-q37evqefmksl
- /raw/wfm/users.11315
I tried so far this code below, but it keeps throwing me errors -
pattern = re.compile('s3://(?)/(?)', response_content)
print ( re.match(pattern, response_content) )