PROJECT_TYPE="node - 10" # Extract the Node.js version NODE_VERSION=$(echo $PROJECT_TYPE | grep -oP '(?<=node - )\d+') echo "Extracted Node.js version: $NODE_VERSION"