I am trying to set up a tester or string searcher transformer to test if the entire string is uppercase but can't get it to work.
THIS SHOULD PASS
but
This Should FAIL
I am trying to set up a tester or string searcher transformer to test if the entire string is uppercase but can't get it to work.
THIS SHOULD PASS
but
This Should FAIL
If it finds [a-z] it's a fail. As simple as that? :)
This setting could work as expected.
I'd be tempted to ignore regex and do the test like this, if it's a possibility you'll have apostrophes, hyphens or similar in your input
e.g. THIS SHOULDN'T FAIL
But this should work as well - only values without any lowercase letters pass
If it finds [a-z] it's a fail. As simple as that? :)
Thanks @danullen, that worked perfectly, keeping it simple :)
I'd be tempted to ignore regex and do the test like this, if it's a possibility you'll have apostrophes, hyphens or similar in your input
e.g. THIS SHOULDN'T FAIL
But this should work as well - only values without any lowercase letters pass
Thanks also @ebygomm, that is a much more elegant solution. I love that there are multiple ways to get the same solution.
This setting could work as expected.
Thanks @takashi, as always you are a terrific help. I am always impressed by the help provided by the members on this forum.