Hi Jordon
I would think something like this might work:
if(value.contains(/^\p{Upper}{1,}$/),”ALL UPPER”,”Everything else”)
But there might be a more robust or more elegant solution.
This list of regular expressions is really helpful for building things like this: https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
Thanks
Graham
--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
openrefine+...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/openrefine/423f0dbb-1d9e-4d3c-9ab3-bcdb82ad9d8en%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openrefine/CWXP265MB2951D86CDF2A581171A12B2782379%40CWXP265MB2951.GBRP265.PROD.OUTLOOK.COM.