GitHub Secret Scanning - PEM Format Secret format: ((\w|[=/+])+\r?\n)+ Before secret: -----BEGIN ([A-Z]+ )?PRIVATE KEY-----\r?\n After secret: -----END ([A-Z]+ )?PRIVATE KEY-----