20 Apr 2026
07:46 AM
- last edited on
21 Apr 2026
07:23 AM
by
MaciejNeumann
Can anyone help me with this issue, I am trying to change AWS Lambda service function name as below,
My actual requirement: Removing random text inbetween the service name
lambda-naming-test-FlightTailFunctionV2-ZQRUSx5pucrm in ap-southeast-2
lambda-naming-test-FlightTailFunctionV2 in ap-southeast-2
But I can get like this with Regex Format : {Service:DetectedName/^(.+?)-[A-Za-z0-9]+ in .*}
lambda-naming-test-FlightTailFunctionV2-ZQRUSx5pucrm in ap-southeast-2
lambda-naming-test-FlightTailFunctionV2
Can anyone suggest me better Regex format to remove random text inbetween the service name?
Featured Posts