A regEx to validate a mongoDb connection string like the following: mongodb+srv://user:pass@subdomain.domain.com:27107/fDb/?replicaSet=myRepl&ssl=true