how to identify non title case words in the source indicate yellow color names
NameIdentificationVenkat RockVenkat RockWinner bufferWinner bufferLOck FuzzyLOck Fuzzylime roadlime roadFanTasy strEetFanTasy strEetVennila roaDVennila roaDRam NagarRam NagargAnga tempLegAnga tempLeSuri NagaSuri NagaThis regular expression should do the trick:
^(?:[A-Z][^\\s]*\\s?)+$
You could also use the @FullTileCase() function in the Text Editor to convert all the strings to Title Case
Another solution is to convert the string to title case in a new attribute, then compare the result with the original value. If the values differ, then the input wasn't proper title case.
This regular expression should do the trick:
^(?:[A-Z][^\\s]*\\s?)+$
You could also use the @FullTileCase() function in the Text Editor to convert all the strings to Title Case
thanks for giving your answer I know that option but i asked the question only for identification purpose non title case words how it is possible please tell me
Use a tester to compare the original attribute to the attribute converted with Full Title Case (this doesn't change the original attributes in any way)
thanks for giving your answer I know that option but i asked the question only for identification purpose non title case words how it is possible please tell me
The AttributeValidator transformer has a test for CASE = Full Title Case
That allows you to validate the data.
StringSearcher transformer, with regular expression:
^(eA-Z]Aa-z]*\s)+\A-Z]Aa-z]*$
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.