How can we do a multi match in re2?
below is the url i want to apply regex on
https://c43545332542.us-east-1.amazonaws.com/new_stage
below is my code
value = "${replace(aws_api_gateway_deployment.deployment.invoke_url,"/(?i)https:///","")}"
I am able to replace
https://
with
""
i also need to get rid of
/new_stage
How can i achieve both in single line