fname.replace(/\..+$/, '') Post navigation How to define types for environment variables in TypeScriptDelete pods with specific pattern match in Kubernetes