I have test cases to mark which string is invalid or valid. I used below in formula tool
IF contains([Seller City], " Blank") then "Seller City is Blank"
ELSEIF (REGEX_Match([Seller City],"[a-zA-Z\-\.\~]+"))
then "Seller Country Valid"
ELSE "Seller Country Invalid"
ENDIF
After using above formula, It is showing invalid for last one ABC DER, The output file after using formula is attached.
Please help me if there is any function or any way to achieve this
Below is the expected result
| A | valid |
| AA | Invalid |
| AAA | Invalid |
| A AA | Invalid |
| A AA AAA | Invalid |
| A AA AAA AAAA | Invalid |
| A12A | Invalid |
| 1234 | Invalid |
| A~ | Invalid |
| ÃB | Valid |
| $#%ABC | Invalid |
| - | Invalid |
| (!@#$%^&*(?) – | Invalid |
| A-B-C | Valid |
| A.B.C | Valid |
| A@B | Invalid |
| A#B | Invalid |
| A$B | Invalid |
| A%B | Invalid |
| A^B | Invalid |
| Invalid |
| # | Invalid |
| $ | Invalid |
| % | Invalid |
| ^ | Invalid |
| | Blank |
| ABCD | Valid |
| ABC DER | Valid |
Thanks
Biswajit