How to write a regex to detect wrongly formed names?
Regards,
David
If the regex definition is a space followed by a lower case letter or a lower case letter at the start of the string, I haven't tested this (on my phone) but /(^[a-z])|(\s[a-z])/
Some regex flavors don't like | as 'or' so you'd want to figure that out.. I'm not sure about postgres.